Completed
Push — master ( 0411a3...0f768a )
by Alex
03:32
created
Mezon/Gui/Tests/SimpleListBuilderUnitTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      */
118 118
     public function commonBehaviourDataProvider(): array
119 119
     {
120
-        $assert = function ($result): void {
120
+        $assert = function($result): void {
121 121
             // asserting method
122 122
             $this->assertStringNotContainsString('!1!', $result);
123 123
             $this->assertStringNotContainsString('!2!', $result);
@@ -126,14 +126,14 @@  discard block
 block discarded – undo
126 126
         return [
127 127
             // #0, listingForm, custom title and description
128 128
             [
129
-                function (): object {
129
+                function(): object {
130 130
                     // setup method
131 131
                     $listBuilder = new ListBuilder\Simple($this->getFields(), new FakeAdapter($this->getRecords()));
132 132
                     $listBuilder->listTitle = 'List Title';
133 133
                     $listBuilder->listDescription = 'List Description';
134 134
                     return $listBuilder;
135 135
                 },
136
-                function (string $result) use ($assert) {
136
+                function(string $result) use ($assert) {
137 137
                     $assert($result);
138 138
 
139 139
                     $this->assertStringContainsStrings([
@@ -147,11 +147,11 @@  discard block
 block discarded – undo
147 147
             ],
148 148
             // #1, listingForm, default title and description
149 149
             [
150
-                function (): object {
150
+                function(): object {
151 151
                     // setup method
152 152
                     return new ListBuilder\Simple($this->getFields(), new FakeAdapter($this->getRecords()));
153 153
                 },
154
-                function (string $result) use ($assert) {
154
+                function(string $result) use ($assert) {
155 155
                     $assert($result);
156 156
 
157 157
                     $this->assertStringContainsStrings(
Please login to merge, or discard this patch.