@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Ivory\Utils; |
5 | 5 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Ivory\Cache; |
5 | 5 | |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * @param CacheItemPoolInterface|null $cacheItemPool cache implementation to use, or <tt>null</tt> to use the |
29 | 29 | * default set to {@link Ivory::setDefaultCacheImpl()} |
30 | 30 | */ |
31 | - public function setCacheImpl(?CacheItemPoolInterface $cacheItemPool): void |
|
31 | + public function setCacheImpl(?CacheItemPoolInterface $cacheItemPool) : void |
|
32 | 32 | { |
33 | 33 | $this->cacheItemPool = $cacheItemPool; |
34 | 34 | } |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Ivory\Result; |
5 | 5 |
@@ -68,5 +68,5 @@ |
||
68 | 68 | * @return IRelationDefinition definition of relation containing at most <tt>$limit</tt> rows, skipping the first |
69 | 69 | * <tt>$offset</tt> rows |
70 | 70 | */ |
71 | - function limit(?int $limit, int $offset = 0): IRelationDefinition; |
|
71 | + function limit(?int $limit, int $offset = 0) : IRelationDefinition; |
|
72 | 72 | } |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Ivory\Query; |
5 | 5 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Ivory\Query; |
5 | 5 | |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | return new SortedRelationDefinition($this, $sortExpression, ...$args); |
16 | 16 | } |
17 | 17 | |
18 | - public function limit(?int $limit, int $offset = 0): IRelationDefinition |
|
18 | + public function limit(?int $limit, int $offset = 0) : IRelationDefinition |
|
19 | 19 | { |
20 | 20 | return new LimitedRelationDefinition($this, $limit, $offset); |
21 | 21 | } |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Ivory\Result; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Ivory\Result; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Ivory\Result; |
5 | 5 |