Test Setup Failed
Branch master (5bd16c)
by Václav
01:02
created
src/TI/TRestricted.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,7 @@
 block discarded – undo
38 38
         }
39 39
 
40 40
         $resource = $this instanceof \Nette\Application\IPresenter ?
41
-            $this->getName() :
42
-            static::getReflection()->getName();
41
+            $this->getName() : static::getReflection()->getName();
43 42
 
44 43
         return $this->authorizator->isAllowed($userId, $resource, $action);
45 44
     }
Please login to merge, or discard this patch.