Skip to content

Commit

Permalink
phpcs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krämer committed May 18, 2016
1 parent 907b24c commit 5b61250
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Event/Decorator/BaseDecorator.php
Expand Up @@ -34,7 +34,7 @@ class BaseDecorator
/**
* Constructor.
*
* @param $callable $callable Callable.
* @param callable $callable Callable.
* @param array $options Decorator options.
*/
public function __construct(callable $callable, array $options = [])
Expand All @@ -57,7 +57,7 @@ public function __invoke()
/**
* Calls a callable with the passed arguments.
*
* @param $callable The callable.
* @param callable $callable The callable.
* @param array $args Arguments for the callable.
* @return mixed
*/
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase/Event/Decorator/ConditionDecoratorTest.php
Expand Up @@ -18,8 +18,8 @@
*/
namespace Cake\Test\TestCase\Event;

use Cake\Event\Event;
use Cake\Event\Decorator\ConditionDecorator;
use Cake\Event\Event;
use Cake\TestSuite\TestCase;

/**
Expand All @@ -41,7 +41,7 @@ public function testCanTriggerIf()

$decorator = new ConditionDecorator($callable, [
'if' => function (Event $event) {
return $event->data['canTrigger'];
return $event->data['canTrigger'];
}
]);

Expand Down

0 comments on commit 5b61250

Please sign in to comment.