@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | */ |
104 | 104 | protected function getCanHandler($policy, $action): callable |
105 | 105 | { |
106 | - $method = 'can' . ucfirst($action); |
|
106 | + $method = 'can'.ucfirst($action); |
|
107 | 107 | if (!method_exists($policy, $method) && !method_exists($policy, '__call')) { |
108 | 108 | throw (new MissingMethodException())->setMessageVars([$method, $action, get_class($policy)]); |
109 | 109 | } |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | */ |
122 | 122 | protected function getScopeHandler($policy, $action): callable |
123 | 123 | { |
124 | - $method = 'scope' . ucfirst($action); |
|
124 | + $method = 'scope'.ucfirst($action); |
|
125 | 125 | if (!method_exists($policy, $method)) { |
126 | 126 | throw (new MissingMethodException())->setMessageVars([$method, $action, get_class($policy)]); |
127 | 127 | } |