@@ -80,11 +80,11 @@ |
||
80 | 80 | { |
81 | 81 | parent::configureOptions($resolver); |
82 | 82 | |
83 | - $resolver->setDefault('group_name', function (Options $options) { |
|
83 | + $resolver->setDefault('group_name', function(Options $options) { |
|
84 | 84 | return trim($options['name']); |
85 | 85 | }); |
86 | 86 | |
87 | - $resolver->setDefault('label', function (Options $options) { |
|
87 | + $resolver->setDefault('label', function(Options $options) { |
|
88 | 88 | if (!empty($this->perm_structure['groups'][$options['group_name']]['label'])) { |
89 | 89 | return $this->perm_structure['groups'][$options['group_name']]['label']; |
90 | 90 | } |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | foreach ($this->permission_structure['groups'] as $group) { |
65 | 65 | if (isset($group['label'])) { |
66 | 66 | $catalogue->add([ |
67 | - $group['label'] => '__' . $group['label'] |
|
67 | + $group['label'] => '__'.$group['label'] |
|
68 | 68 | ]); |
69 | 69 | } |
70 | 70 | } |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | foreach ($this->permission_structure['perms'] as $perm) { |
74 | 74 | if (isset($perm['label'])) { |
75 | 75 | $catalogue->add([ |
76 | - $perm['label'] => '__' . $perm['label'] |
|
76 | + $perm['label'] => '__'.$perm['label'] |
|
77 | 77 | ]); |
78 | 78 | } |
79 | 79 | |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | foreach ($perm['operations'] as $op) { |
82 | 82 | if (isset($op['label'])) { |
83 | 83 | $catalogue->add([ |
84 | - $op['label'] => '__' . $op['label'] |
|
84 | + $op['label'] => '__'.$op['label'] |
|
85 | 85 | ]); |
86 | 86 | } |
87 | 87 | } |