@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | public function testPageIsSuccessful(string $url) : void |
39 | 39 | { |
40 | 40 | //We have localized routes |
41 | - $url = '/en' . $url; |
|
41 | + $url = '/en'.$url; |
|
42 | 42 | |
43 | 43 | //Try to access pages with admin, because he should be able to view every page! |
44 | 44 | $client = static::createClient([], [ |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | |
49 | 49 | $client->request('GET', $url); |
50 | 50 | |
51 | - $this->assertTrue($client->getResponse()->isSuccessful(), 'Request not successful. Status code is ' . $client->getResponse()->getStatusCode()); |
|
51 | + $this->assertTrue($client->getResponse()->isSuccessful(), 'Request not successful. Status code is '.$client->getResponse()->getStatusCode()); |
|
52 | 52 | } |
53 | 53 | |
54 | 54 |
@@ -84,11 +84,11 @@ |
||
84 | 84 | $ret['selected'] = $this->selected; |
85 | 85 | } |
86 | 86 | |
87 | - if($this->disabled !== null) { |
|
87 | + if ($this->disabled !== null) { |
|
88 | 88 | $ret['disabled'] = $this->disabled; |
89 | 89 | } |
90 | 90 | |
91 | - if($this->expanded !== null) { |
|
91 | + if ($this->expanded !== null) { |
|
92 | 92 | $ret['expanded'] = $this->expanded; |
93 | 93 | } |
94 | 94 |
@@ -216,19 +216,19 @@ |
||
216 | 216 | 'text' => $this->text |
217 | 217 | ]; |
218 | 218 | |
219 | - if($this->href !== null) { |
|
219 | + if ($this->href !== null) { |
|
220 | 220 | $ret['href'] = $this->href; |
221 | 221 | } |
222 | 222 | |
223 | - if($this->tags !== null) { |
|
223 | + if ($this->tags !== null) { |
|
224 | 224 | $ret['tags'] = $this->tags; |
225 | 225 | } |
226 | 226 | |
227 | - if($this->nodes !== null) { |
|
227 | + if ($this->nodes !== null) { |
|
228 | 228 | $ret['nodes'] = $this->nodes; |
229 | 229 | } |
230 | 230 | |
231 | - if($this->state !== null) { |
|
231 | + if ($this->state !== null) { |
|
232 | 232 | $ret['state'] = $this->state; |
233 | 233 | } |
234 | 234 |