Completed
Push — master ( 44a76b...721920 )
by Dmitry
01:51
created
src/SetterTrait.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * Set child.
59 59
      * @param string|Item $parent
60
-     * @param string|Item $child
60
+     * @param Item $child
61 61
      * @return bool
62 62
      */
63 63
     public function setChild($parent, $child)
@@ -102,6 +102,9 @@  discard block
 block discarded – undo
102 102
         return $this->assign($item, $userId);
103 103
     }
104 104
 
105
+    /**
106
+     * @param string $name
107
+     */
105 108
     protected function findItem($name, $description = null)
106 109
     {
107 110
         $item = $this->getItem($name);
Please login to merge, or discard this patch.