mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-02 17:42:41 +00:00
== to === and != to !== where applicable
This commit is contained in:
parent
ee4a116936
commit
111366d5c8
89 changed files with 291 additions and 291 deletions
|
@ -477,7 +477,7 @@ class String {
|
|||
);
|
||||
if (isset($options['ending'])) {
|
||||
$default['ellipsis'] = $options['ending'];
|
||||
} elseif (!empty($options['html']) && Configure::read('App.encoding') == 'UTF-8') {
|
||||
} elseif (!empty($options['html']) && Configure::read('App.encoding') === 'UTF-8') {
|
||||
$default['ellipsis'] = "\xe2\x80\xa6";
|
||||
}
|
||||
$options = array_merge($default, $options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue