Completed
Push — master ( 6bfb13...0fc592 )
by Lars
02:22
created
src/SimpleAcl/Object/RecursiveIterator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
   protected $objects = array();
18 18
 
19 19
   /**
20
-   * @param $objects
20
+   * @param [] $objects
21 21
    */
22 22
   public function __construct($objects)
23 23
   {
Please login to merge, or discard this patch.
src/SimpleAcl/Rule.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
    * Check owing Role & Resource 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
    *
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
    * @param \SimpleAcl\Resource $resource
301 301
    * @param string                   $needRoleName
302 302
    * @param string                   $needResourceName
303
-   * @param                          $priority
303
+   * @param                          integer $priority
304 304
    *
305 305
    * @return RuleResult|null
306 306
    */
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
   /**
345 345
    * Creates an id for rule.
346 346
    *
347
-   * @return string
347
+   * @return integer
348 348
    */
349 349
   protected function generateId()
350 350
   {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace SimpleAcl;
3 3
 
4
-use RecursiveIteratorIterator;
5 4
 use SimpleAcl\Resource;
6 5
 use SimpleAcl\Resource\ResourceAggregateInterface;
7 6
 use SimpleAcl\Role;
Please login to merge, or discard this patch.