@@ -86,8 +86,8 @@ discard block |
||
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 |
||
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)) { |