Completed
Push — master ( 0ca8c7...32ef7a )
by Andrii
04:22
created
src/AuthManager.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,8 +86,8 @@  discard block
 block discarded – undo
86 86
 
87 87
     /**
88 88
      * Set child.
89
-     * @param string|Item $parent
90
-     * @param string|Item $child
89
+     * @param string $parent
90
+     * @param string $child
91 91
      * @return bool
92 92
      */
93 93
     public function setChild($parent, $child)
@@ -113,6 +113,10 @@  discard block
 block discarded – undo
113 113
         return $this->addChild($parent, $child);
114 114
     }
115 115
 
116
+    /**
117
+     * @param string $role
118
+     * @param string $userId
119
+     */
116 120
     public function setAssignment($role, $userId)
117 121
     {
118 122
         if (is_string($role)) {
Please login to merge, or discard this patch.