Skip to content

Commit

Permalink
phpcs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AD7six committed Nov 10, 2013
1 parent efb50b6 commit 2aa6fb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Cake/ORM/BehaviorRegistry.php
Expand Up @@ -134,7 +134,7 @@ protected function _getMethods(Behavior $instance, $class, $alias) {
$finders = array_change_key_case($instance->implementedFinders());
$methods = array_change_key_case($instance->implementedMethods());

foreach($finders as $finder => $methodName) {
foreach ($finders as $finder => $methodName) {
if (isset($this->_finderMap[$finder])) {
$duplicate = $this->_finderMap[$finder];
$error = __d(
Expand All @@ -149,7 +149,7 @@ protected function _getMethods(Behavior $instance, $class, $alias) {
$finders[$finder] = [$alias, $methodName];
}

foreach($methods as $method => $methodName) {
foreach ($methods as $method => $methodName) {
if (isset($this->_methodMap[$method])) {
$duplicate = $this->_methodMap[$method];
$error = __d(
Expand Down
9 changes: 0 additions & 9 deletions Cake/Test/TestCase/ORM/BehaviorTest.php
Expand Up @@ -125,15 +125,6 @@ public function testReflectionCache() {
*/
class BehaviorTest extends TestCase {

/**
* setup
*
* @return void
*/
public function setUp() {
parent::setUp();
}

/**
* Test the side effects of the constructor.
*
Expand Down

0 comments on commit 2aa6fb3

Please sign in to comment.