Completed
Push — master ( 593f3a...6bfb13 )
by Lars
02:47
created
src/SimpleAcl/Rule.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
    * Check owing Role & Resource (and their children) and match its with $roleName & $resourceName;
189 189
    * if match was found depending on action allow or deny access to $resourceName for $roleName.
190 190
    *
191
-   * @param        $needRuleName
191
+   * @param        string $needRuleName
192 192
    * @param string $needRoleName
193 193
    * @param string $needResourceName
194 194
    *
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
   /**
342 342
    * Creates an id for rule.
343 343
    *
344
-   * @return string
344
+   * @return integer
345 345
    */
346 346
   protected function generateId()
347 347
   {
Please login to merge, or discard this patch.
src/SimpleAcl/RuleResult.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,8 +49,8 @@
 block discarded – undo
49 49
   /**
50 50
    * @param Rule $rule
51 51
    * @param int  $priority
52
-   * @param      $needRoleName
53
-   * @param      $needResourceName
52
+   * @param      string $needRoleName
53
+   * @param      string $needResourceName
54 54
    */
55 55
   public function __construct(Rule $rule, $priority, $needRoleName, $needResourceName)
56 56
   {
Please login to merge, or discard this patch.