Passed
Push — master ( 9b7e2a...645053 )
by Alex
03:27
created
Mezon/Gui/Tests/Common/NoItemsCreateButtonUnitTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,27 +18,27 @@
 block discarded – undo
18 18
         return [
19 19
             // #0, the first case - empty listing
20 20
             [
21
-                function (): object {
21
+                function(): object {
22 22
                     // setup
23 23
                     unset($_GET['create-button']);
24 24
                     return new ListBuilder\Common($this->getFields(), new FakeAdapter([]));
25 25
                 },
26
-                function ($result): void {
26
+                function($result): void {
27 27
                     // asserting method
28 28
                     $this->assertStringNotContainsString('create-button"', $result);
29 29
                 }
30 30
             ],
31 31
             // #1, the second case - full header
32 32
             [
33
-                function (): object {
33
+                function(): object {
34 34
                     // setup
35 35
                     $_GET['create-button'] = 1;
36
-                    if(isset($_GET['create-page-endpoint'])){
36
+                    if (isset($_GET['create-page-endpoint'])) {
37 37
                         unset($_GET['create-page-endpoint']);
38 38
                     }
39 39
                     return new ListBuilder\Common($this->getFields(), new FakeAdapter([]));
40 40
                 },
41
-                function ($result): void {
41
+                function($result): void {
42 42
                     // asserting method
43 43
                     $this->assertStringContainsString('../create/', $result);
44 44
                 }
Please login to merge, or discard this patch.