@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Bright Nucleus View Component. |
4 | 4 | * |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Bright Nucleus View Component. |
4 | 4 | * |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | */ |
156 | 156 | protected function initializeFindables($arguments = null) |
157 | 157 | { |
158 | - $this->findables = $this->findables->map(function ($findable) use ($arguments) { |
|
158 | + $this->findables = $this->findables->map(function($findable) use ($arguments) { |
|
159 | 159 | return $this->initializeFindable($findable, $arguments); |
160 | 160 | }); |
161 | 161 | } |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | $findable = $this->instantiateFindableFromCallable($findable, $arguments); |
198 | 198 | } |
199 | 199 | |
200 | - if (! $findable instanceof Findable) { |
|
200 | + if ( ! $findable instanceof Findable) { |
|
201 | 201 | throw new FailedToInstantiateFindable( |
202 | 202 | sprintf( |
203 | 203 | _('Could not instantiate Findable "%s".'), |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | */ |
222 | 222 | protected function instantiateFindableFromString(string $string, $arguments = []): Findable |
223 | 223 | { |
224 | - return new $string(...(array)$arguments); |
|
224 | + return new $string(...(array) $arguments); |
|
225 | 225 | } |
226 | 226 | |
227 | 227 | /** |
@@ -236,6 +236,6 @@ discard block |
||
236 | 236 | */ |
237 | 237 | protected function instantiateFindableFromCallable(callable $callable, $arguments = []): Findable |
238 | 238 | { |
239 | - return $callable(...(array)$arguments); |
|
239 | + return $callable(...(array) $arguments); |
|
240 | 240 | } |
241 | 241 | } |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Bright Nucleus View Component. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Bright Nucleus View Component. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Bright Nucleus View Component. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Bright Nucleus View Component. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Bright Nucleus View Component. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Bright Nucleus View Component. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Bright Nucleus View Component. |
4 | 4 | * |