Completed
Pull Request — master (#1331)
by Loick
03:29
created
src/Security/ExpressionLanguage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.