mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 03:22:39 +00:00
converting $foo == null / $foo == false to !$foo
This commit is contained in:
parent
1fe791353f
commit
cf8fccae96
30 changed files with 50 additions and 52 deletions
|
@ -361,7 +361,7 @@ class HttpResponse implements ArrayAccess {
|
|||
$escape[] = chr(127);
|
||||
}
|
||||
|
||||
if ($hex == false) {
|
||||
if (!$hex) {
|
||||
return $escape;
|
||||
}
|
||||
foreach ($escape as $key => $char) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue