@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Marcosh\EffectorExample; |
6 | 6 | |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | * before being executed |
23 | 23 | */ |
24 | 24 | |
25 | -$websiteLogic = function (RequestInterface $request): ResponseInterface { |
|
25 | +$websiteLogic = function(RequestInterface $request): ResponseInterface { |
|
26 | 26 | return new TextResponse((string) $request->getUri()); |
27 | 27 | }; |
28 | 28 |
@@ -26,7 +26,7 @@ |
||
26 | 26 | |
27 | 27 | require __DIR__ . '/../vendor/autoload.php'; |
28 | 28 | |
29 | -$websiteLogic = function (RequestInterface $request): ResponseInterface { |
|
29 | +$websiteLogic = function(RequestInterface $request): ResponseInterface { |
|
30 | 30 | return new TextResponse((string) $request->getUri()); |
31 | 31 | }; |
32 | 32 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Marcosh\Effector\Effect\PDO; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Marcosh\Effector\Effect\PDO; |
6 | 6 | |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | string $statement, |
21 | 21 | int $fetchMode = \PDO::ATTR_DEFAULT_FETCH_MODE, |
22 | 22 | $arg = null, |
23 | - ?array $ctorArgs = null |
|
23 | + ? array $ctorArgs = null |
|
24 | 24 | ) |
25 | 25 | { |
26 | 26 | return $this->connection->query($statement, $fetchMode, $arg, $ctorArgs); |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Marcosh\Effector\Effect\PDOStatement; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Marcosh\Effector\Effect\PDO; |
6 | 6 |