Completed
Push — master ( 3f135d...7bfd57 )
by Alex
07:35
created
Mezon/Application/ActionBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public static function ignoreKey(): callable
15 15
     {
16
-        return function (): void {
16
+        return function(): void {
17 17
             // do nothind
18 18
         };
19 19
     }
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public static function resetLayout(HtmlTemplate $template, string $value): callable
30 30
     {
31
-        return function () use ($template, $value) {
31
+        return function() use ($template, $value) {
32 32
             $template->resetLayout($value);
33 33
         };
34 34
     }
Please login to merge, or discard this patch.
Mezon/Application/Tests/CommonApplicationActionsUnitTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,14 +37,14 @@  discard block
 block discarded – undo
37 37
             // #0, default behaviour, layout is not set
38 38
             [
39 39
                 'from-config',
40
-                function (string $result) {
40
+                function(string $result) {
41 41
                     $this->assertCommonCall($result, '<!-- index1 -->');
42 42
                 }
43 43
             ],
44 44
             // #1, default behaviour, layout is set, no name is defined for the other-view
45 45
             [
46 46
                 'from-config2',
47
-                function (string $result) {
47
+                function(string $result) {
48 48
                     $this->assertCommonCall($result, '<!-- index2 -->');
49 49
 
50 50
                     $this->assertTrue(TestingView::$defaultViewWasRendered);
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
             // #2, inherit from from-config2
54 54
             [
55 55
                 'from-config3',
56
-                function (string $result) {
56
+                function(string $result) {
57 57
                     $this->assertCommonCall($result, '<!-- index1 -->');
58 58
 
59 59
                     $this->assertTrue(TestingView::$defaultViewWasRendered);
Please login to merge, or discard this patch.