File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public function boot()
4141
4242 $ this ->registerModelBindings ();
4343
44- $ this ->app ->afterResolving (Gate::class, function () {
44+ $ this ->app ->afterResolving (Gate::class, function () {
4545 app (PermissionRegistrar::class)->registerPermissions ();
4646 });
4747 }
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ public function hasAnyPermission(...$permissions): bool
281281 * @return bool
282282 * @throws \ReflectionException
283283 */
284- public function hasAllPermissions (... $ permissions ): bool
284+ public function hasAllPermissions (...$ permissions ): bool
285285 {
286286 $ helpers = new Helpers ();
287287 $ permissions = $ helpers ->flattenArray ($ permissions );
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ public function hasAnyRole($roles): bool
168168 *
169169 * @return bool
170170 */
171- public function hasAllRoles (... $ roles ): bool
171+ public function hasAllRoles (...$ roles ): bool
172172 {
173173 $ helpers = new Helpers ();
174174 $ roles = $ helpers ->flattenArray ($ roles );
You can’t perform that action at this time.
0 commit comments