@@ -120,7 +120,7 @@ |
||
120 | 120 | |
121 | 121 | /** |
122 | 122 | * Set Organization. |
123 | - * @param BaseOrganization $organization |
|
123 | + * @param Organization $organization |
|
124 | 124 | * @return boolean |
125 | 125 | */ |
126 | 126 | public function setOrganization($organization) |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | * @param string $name |
162 | 162 | * @param Organization $parent |
163 | 163 | * @param string $nickname |
164 | - * @param string $gravatar_type |
|
164 | + * @param integer $gravatar_type |
|
165 | 165 | * @param string $gravatar |
166 | 166 | * @param string $timezone |
167 | 167 | * @param string $description |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | * @param string $name |
178 | 178 | * @param Organization $parent |
179 | 179 | * @param string $nickname |
180 | - * @param string $gravatar_type |
|
180 | + * @param integer $gravatar_type |
|
181 | 181 | * @param string $gravatar |
182 | 182 | * @param string $timezone |
183 | 183 | * @param string $description |
@@ -213,7 +213,7 @@ |
||
213 | 213 | * Remove administrator |
214 | 214 | * @param Organization|string|integer $organization |
215 | 215 | * @param User|string|integer $user |
216 | - * @param boolean $keepMember |
|
216 | + * @param string|boolean $keepMember |
|
217 | 217 | */ |
218 | 218 | public function actionRemoveAdministrator($organization, $user, $keepMember = "yes") |
219 | 219 | { |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | |
191 | 191 | /** |
192 | 192 | * Add member to organization. |
193 | - * @param Member|User|string|integer $member |
|
193 | + * @param User $member |
|
194 | 194 | * @see createMemberModel |
195 | 195 | * @see createMemberModelWithUser |
196 | 196 | * @return boolean |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | |
266 | 266 | /** |
267 | 267 | * Remove administrator. |
268 | - * @param Member|User $member |
|
268 | + * @param User $member |
|
269 | 269 | * @param boolean $keepMember Keep member after administrator being revoked. |
270 | 270 | * @return boolean |
271 | 271 | * @throws IntegrityException |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use yii\grid\GridView; |
18 | 18 | use yii\grid\DataColumn; |
19 | 19 | use yii\helpers\Html; |
20 | -use yii\helpers\Url; |
|
21 | 20 | use yii\web\View; |
22 | 21 | use yii\widgets\Pjax; |
23 | 22 | /* @var $this View */ |