mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Make comparison stricter.
This commit is contained in:
parent
f302d8c4d3
commit
2937ea9ba5
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ class ExtractTask extends AppShell {
|
|||
|
||||
$this->_tokens = array();
|
||||
foreach ($allTokens as $token) {
|
||||
if (!is_array($token) || ($token[0] != T_WHITESPACE && $token[0] != T_INLINE_HTML)) {
|
||||
if (!is_array($token) || ($token[0] !== T_WHITESPACE && $token[0] !== T_INLINE_HTML)) {
|
||||
$this->_tokens[] = $token;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue