@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | */ |
| 124 | 124 | public function commonBehaviourDataProvider(): array |
| 125 | 125 | { |
| 126 | - $assert = function (string $result): void { |
|
| 126 | + $assert = function(string $result): void { |
|
| 127 | 127 | // asserting method |
| 128 | 128 | $this->assertStringNotContainsString('!1!', $result); |
| 129 | 129 | $this->assertStringNotContainsString('!2!', $result); |
@@ -132,14 +132,14 @@ discard block |
||
| 132 | 132 | return [ |
| 133 | 133 | // #0, listingForm, custom title and description |
| 134 | 134 | [ |
| 135 | - function (): object { |
|
| 135 | + function(): object { |
|
| 136 | 136 | // setup method |
| 137 | 137 | $listBuilder = new ListBuilder\Simple($this->getFields(), new FakeAdapter($this->getRecords())); |
| 138 | 138 | $listBuilder->listTitle = 'List Title'; |
| 139 | 139 | $listBuilder->listDescription = 'List Description'; |
| 140 | 140 | return $listBuilder; |
| 141 | 141 | }, |
| 142 | - function (string $result) use ($assert) { |
|
| 142 | + function(string $result) use ($assert) { |
|
| 143 | 143 | $assert($result); |
| 144 | 144 | |
| 145 | 145 | $this->assertStringContainsStrings([ |
@@ -153,11 +153,11 @@ discard block |
||
| 153 | 153 | ], |
| 154 | 154 | // #1, listingForm, default title and description |
| 155 | 155 | [ |
| 156 | - function (): object { |
|
| 156 | + function(): object { |
|
| 157 | 157 | // setup method |
| 158 | 158 | return new ListBuilder\Simple($this->getFields(), new FakeAdapter($this->getRecords())); |
| 159 | 159 | }, |
| 160 | - function (string $result) use ($assert) { |
|
| 160 | + function(string $result) use ($assert) { |
|
| 161 | 161 | $assert($result); |
| 162 | 162 | |
| 163 | 163 | $this->assertStringContainsStrings( |