Completed
Push — master ( 62a450...2faef5 )
by
unknown
12s
created
DependencyInjection/SumoCodersFrameworkUserExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public function load(array $configs, ContainerBuilder $container)
13 13
     {
14
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
14
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
15 15
         $loader->load('services.yml');
16 16
     }
17 17
 }
Please login to merge, or discard this patch.
src/SumoCoders/FrameworkUserBundle/Controller/EditController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      *
65 65
      * @throws AccessDeniedHttpException if not allowed to edit user
66 66
      */
67
-    public function editAction(Request $request, ?int $id): array
67
+    public function editAction(Request $request, ?int $id) : array
68 68
     {
69 69
         if (!$this->authorizationChecker->isGranted('ROLE_ADMIN')
70 70
             && $this->tokenStorage->getToken()->getUser()->getId() !== $id
Please login to merge, or discard this patch.
src/SumoCoders/FrameworkUserBundle/Twig/UserExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@
 block discarded – undo
15 15
         return [
16 16
             new Twig_SimpleTest(
17 17
                 'admin',
18
-                function (BaseUser $user) {
18
+                function(BaseUser $user) {
19 19
                     return $user instanceof Admin;
20 20
                 }
21 21
             ),
22 22
             new Twig_SimpleTest(
23 23
                 'user',
24
-                function (BaseUser $user) {
24
+                function(BaseUser $user) {
25 25
                     return $user instanceof User;
26 26
                 }
27 27
             ),
Please login to merge, or discard this patch.