Completed
Push — master ( f3c0c4...8a8fda )
by Lars
89:18 queued 61:41
created
src/SimpleAcl/Resource/ResourceAggregate.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
   /**
56 56
    * Return all resources.
57 57
    *
58
-   * @return array|Resource[]
58
+   * @return \SimpleAcl\Object[]
59 59
    */
60 60
   public function getResources()
61 61
   {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
    *
78 78
    * @param $resourceName
79 79
    *
80
-   * @return null|Resource
80
+   * @return \SimpleAcl\Object|null
81 81
    */
82 82
   public function getResource($resourceName)
83 83
   {
Please login to merge, or discard this patch.
src/SimpleAcl/Role/RoleAggregate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
    *
78 78
    * @param $roleName
79 79
    *
80
-   * @return null|Role
80
+   * @return \SimpleAcl\Object|null
81 81
    */
82 82
   public function getRole($roleName)
83 83
   {
Please login to merge, or discard this patch.
src/SimpleAcl/Rule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
         null === $ruleResult
162 162
     ) {
163 163
       if (null !== $actionResult) {
164
-        return (bool)$actionResult;
164
+        return (bool) $actionResult;
165 165
       } else {
166 166
         return null;
167 167
       }
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
     $actionResult = call_user_func($this->action, $ruleResult);
171 171
 
172 172
     if (null !== $actionResult) {
173
-      return (bool)$actionResult;
173
+      return (bool) $actionResult;
174 174
     } else {
175 175
       return null;
176 176
     }
Please login to merge, or discard this patch.
src/SimpleAcl/Acl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     } elseif ($argsCount == 1) {
77 77
       $rule = $args[0];
78 78
     } else {
79
-      throw new InvalidArgumentException(__METHOD__ . ' accepts only one, tow, three or four arguments');
79
+      throw new InvalidArgumentException(__METHOD__.' accepts only one, tow, three or four arguments');
80 80
     }
81 81
 
82 82
     if (
Please login to merge, or discard this patch.
src/SimpleAcl/Object/RecursiveIterator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
   protected $objects = array();
17 17
 
18 18
   /**
19
-   * @param Object[] $objects
19
+   * @param [] $objects
20 20
    */
21 21
   public function __construct($objects)
22 22
   {
Please login to merge, or discard this patch.