Completed
Push — master ( 856e20...90d449 )
by Jan
04:33
created
src/Security/Voter/GroupVoter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     protected function voteOnUser($attribute, $subject, User $user): bool
52 52
     {
53 53
         if ($subject instanceof Group) {
54
-            return $this->resolver->inherit($user,'groups', $attribute) ?? false;
54
+            return $this->resolver->inherit($user, 'groups', $attribute) ?? false;
55 55
         }
56 56
 
57 57
         return false;
Please login to merge, or discard this patch.
src/Form/Permissions/PermissionsType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     {
58 58
         $resolver->setDefaults([
59 59
             'show_legend' => true,
60
-            'constraints' => function (Options $options) {
60
+            'constraints' => function(Options $options) {
61 61
                 if (!$options['disabled']) {
62 62
                     return [new NoLockout()];
63 63
                 }
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $groups = $this->perm_structure['groups'];
79 79
 
80 80
         foreach ($groups as $key => $group) {
81
-            $builder->add($key,PermissionGroupType::class, [
81
+            $builder->add($key, PermissionGroupType::class, [
82 82
                 'group_name' => $key,
83 83
                 'mapped' => false,
84 84
                 'data' => $builder->getData(),
Please login to merge, or discard this patch.