Skip to content

Commit

Permalink
Use === for string comparison.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 6, 2014
1 parent 05e16dd commit 8e2bfb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Controller.php
Expand Up @@ -666,7 +666,7 @@ public function isAction($action) {
if (!$method->isPublic()) {
return false;
}
if ($method->getDeclaringClass()->name == 'Cake\Controller\Controller') {
if ($method->getDeclaringClass()->name === 'Cake\Controller\Controller') {
return false;
}
return true;
Expand Down

0 comments on commit 8e2bfb7

Please sign in to comment.