@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Lookyman\NetteOAuth2Server\Storage\Doctrine\Client; |
5 | 5 | |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | */ |
21 | 21 | public function byIdentifier(string $identifier): ClientQuery |
22 | 22 | { |
23 | - $this->filters[] = function (QueryBuilder $queryBuilder) use ($identifier) { |
|
23 | + $this->filters[] = function(QueryBuilder $queryBuilder) use ($identifier) { |
|
24 | 24 | $queryBuilder->andWhere('c.identifier = :identifier')->setParameter('identifier', $identifier); |
25 | 25 | }; |
26 | 26 | return $this; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Lookyman\NetteOAuth2Server\Storage\Doctrine; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Lookyman\NetteOAuth2Server\Storage\Doctrine; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Lookyman\NetteOAuth2Server\Storage\Doctrine; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Lookyman\NetteOAuth2Server\Storage\Doctrine; |
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 Lookyman\NetteOAuth2Server\Storage\Doctrine\Client; |
5 | 5 | |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | */ |
21 | 21 | public function byIdentifier(string $identifier): ClientQuery |
22 | 22 | { |
23 | - $this->filters[] = function (QueryBuilder $queryBuilder) use ($identifier) { |
|
23 | + $this->filters[] = function(QueryBuilder $queryBuilder) use ($identifier) { |
|
24 | 24 | $queryBuilder->andWhere('c.identifier = :identifier')->setParameter('identifier', $identifier); |
25 | 25 | }; |
26 | 26 | return $this; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Lookyman\NetteOAuth2Server\Storage\Doctrine; |
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 Lookyman\NetteOAuth2Server\Storage\Doctrine\Scope; |
5 | 5 | |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | public function __construct(Registry $registry, callable $scopeFinalizer = null) |
28 | 28 | { |
29 | 29 | $this->registry = $registry; |
30 | - $this->scopeFinalizer = $scopeFinalizer ?: function (array $scopes) { return $scopes; }; |
|
30 | + $this->scopeFinalizer = $scopeFinalizer ?: function(array $scopes) { return $scopes; }; |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |