@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Security; |
15 | 15 | |
@@ -29,9 +29,9 @@ discard block |
||
29 | 29 | { |
30 | 30 | parent::registerFunctions(); |
31 | 31 | |
32 | - $this->register('is_granted', function ($attributes, $object = 'null') { |
|
32 | + $this->register('is_granted', function($attributes, $object = 'null') { |
|
33 | 33 | return sprintf('$auth_checker->isGranted(%s, %s)', $attributes, $object); |
34 | - }, function (array $variables, $attributes, $object = null) { |
|
34 | + }, function(array $variables, $attributes, $object = null) { |
|
35 | 35 | return $variables['auth_checker']->isGranted($attributes, $object); |
36 | 36 | }); |
37 | 37 | } |