@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | } |
308 | 308 | |
309 | 309 | foreach ($value as $configKey => $configValue) { |
310 | - if (! in_array($configKey, [ |
|
310 | + if (!in_array($configKey, [ |
|
311 | 311 | 'class', |
312 | 312 | 'name', |
313 | 313 | 'placeholder' |
@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | { |
350 | 350 | $method = 'action' . basename($path, '.json'); |
351 | 351 | |
352 | - $this->$method = function () use ($path): array { |
|
352 | + $this->$method = function() use ($path): array { |
|
353 | 353 | $result = []; |
354 | 354 | $views = []; |
355 | 355 | $presenter = null; |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | // #0, default behaviour, layout is not set, extra view variable is set |
38 | 38 | [ |
39 | 39 | 'from-config', |
40 | - function (string $result) { |
|
40 | + function(string $result) { |
|
41 | 41 | $this->assertCommonCall($result, '<!-- index1 -->'); |
42 | 42 | $this->assertStringContainsString('someVarValue', $result); |
43 | 43 | } |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | // #1, default behaviour, layout is set, no name is defined for the other-view |
46 | 46 | [ |
47 | 47 | 'from-config2', |
48 | - function (string $result) { |
|
48 | + function(string $result) { |
|
49 | 49 | $this->assertCommonCall($result, '<!-- index2 -->'); |
50 | 50 | |
51 | 51 | $this->assertTrue(TestingView::$defaultViewWasRendered); |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | // #2, inherit from from-config2 |
55 | 55 | [ |
56 | 56 | 'from-config3', |
57 | - function (string $result) { |
|
57 | + function(string $result) { |
|
58 | 58 | $this->assertCommonCall($result, '<!-- index1 -->'); |
59 | 59 | |
60 | 60 | $this->assertTrue(TestingView::$defaultViewWasRendered); |