Test Failed
Push — develop ( 9e1540...9681bd )
by Florian
01:47
created
src/AuthorizationService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.