Skip to content
Permalink
Browse files

Fix PHPCS errors.

  • Loading branch information...
markstory committed May 4, 2015
1 parent f5d9a1f commit 7225b22a3d18c127e787cfbb1bb94b3648bb3f63
Showing with 10 additions and 10 deletions.
  1. +9 −9 src/Utility/Hash.php
  2. +1 −1 tests/TestCase/Utility/HashTest.php
@@ -192,15 +192,15 @@ protected static function _splitConditions($token)
*/
protected static function _matchToken($key, $token)
{
switch ($token) {
case '{n}':
return is_numeric($key);
case '{s}':
return is_string($key);
case '{*}':
return true;
default:
return is_numeric($token) ? ($key == $token) : $key === $token;
switch ($token) {
case '{n}':
return is_numeric($key);
case '{s}':
return is_string($key);
case '{*}':
return true;
default:
return is_numeric($token) ? ($key == $token) : $key === $token;
}
}
@@ -870,7 +870,7 @@ public function testExtractWildcard()
'Ms. Bool',
];
$this->assertEquals($expected, $result);
}
}
/**
* Test the attribute presense selector.

0 comments on commit 7225b22

Please sign in to comment.
You can’t perform that action at this time.