Skip to content

Commit

Permalink
Make comparison stricter.
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Dec 8, 2014
1 parent f302d8c commit 2937ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Console/Command/Task/ExtractTask.php
Expand Up @@ -366,7 +366,7 @@ protected function _extractTokens() {

$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;
}
}
Expand Down

0 comments on commit 2937ea9

Please sign in to comment.