summaryrefslogtreecommitdiff
path: root/tests/units/Core/Plugin
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-10-17 10:09:03 -0400
committerFrederic Guillot <fred@kanboard.net>2015-10-17 10:09:03 -0400
commit8c532efd5f02f7a7e5ea322a07ddcf49d130a8ec (patch)
tree289222e21420b8d0092f06de097090f179202f6b /tests/units/Core/Plugin
parentb40190ee9fd557d86e594208ed77fa762c7dcfb7 (diff)
Run php-cs-fixer on the code base
Diffstat (limited to 'tests/units/Core/Plugin')
-rw-r--r--tests/units/Core/Plugin/HookTest.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/units/Core/Plugin/HookTest.php b/tests/units/Core/Plugin/HookTest.php
index 8b771697..d1c139b3 100644
--- a/tests/units/Core/Plugin/HookTest.php
+++ b/tests/units/Core/Plugin/HookTest.php
@@ -42,11 +42,11 @@ class HookTest extends Base
$values = array('A', 'B');
$expected = array('A', 'B', 'c', 'D');
- $h->on('myhook', function($p) {
+ $h->on('myhook', function ($p) {
return array($p);
});
- $h->on('myhook', function() {
+ $h->on('myhook', function () {
return array('D');
});
@@ -61,7 +61,7 @@ class HookTest extends Base
$values = array('A', 'B');
$expected = array('A', 'B');
- $h->on('myhook', function() {
+ $h->on('myhook', function () {
return 'string';
});
@@ -82,11 +82,11 @@ class HookTest extends Base
{
$h = new Hook;
- $h->on('myhook', function($p) {
+ $h->on('myhook', function ($p) {
return $p + 1;
});
- $h->on('myhook', function($p) {
+ $h->on('myhook', function ($p) {
return $p;
});