Completed
Push — master ( fae420...efd6c7 )
by vistart
13:31
created
Member.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
UserOrganizationTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
console/controllers/OrganizationController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
web/user/views/organization/view-members.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
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 */
Please login to merge, or discard this patch.
exceptions/UnauthorizedManageMemberException.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
 {
26 26
     /**
27 27
      * Constructor.
28
-     * @param string $message error message
29 28
      * @param int $code error code
30 29
      * @param \Exception $previous The previous exception used for the exception chaining.
31 30
      */
Please login to merge, or discard this patch.
widgets/views/organization-list.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,13 +10,11 @@
 block discarded – undo
10 10
  * @license https://vistart.me/license/
11 11
  */
12 12
 
13
-use rhosocial\organization\grid\OrganizationListActionColumn;
14 13
 use rhosocial\organization\Organization;
15 14
 use yii\data\ActiveDataProvider;
16 15
 use yii\grid\DataColumn;
17 16
 use yii\grid\GridView;
18 17
 use yii\grid\SerialColumn;
19
-use yii\helpers\Html;
20 18
 use yii\web\View;
21 19
 
22 20
 /* @var $dataProvider ActiveDataProvider */
Please login to merge, or discard this patch.
Organization.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
 
221 221
     /**
222 222
      * Get subordinate limit query.
223
-     * @return null|BaseBlameableQuery
223
+     * @return null|\yii\db\ActiveQuery
224 224
      */
225 225
     public function getSubordinateLimit()
226 226
     {
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
 
233 233
     /**
234 234
      * Get member limit query.
235
-     * @return null|BaseBlameableQuery
235
+     * @return null|\yii\db\ActiveQuery
236 236
      */
237 237
     public function getMemberLimit()
238 238
     {
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
 
335 335
     /**
336 336
      * Remove administrator.
337
-     * @param Member|User $member
337
+     * @param User $member
338 338
      * @param boolean $keepMember Keep member after administrator being revoked.
339 339
      * @return boolean
340 340
      * @throws IntegrityException
Please login to merge, or discard this patch.
web/organization/controllers/my/RemoveMemberAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 
49 49
     /**
50 50
      * Check access.
51
-     * @param Organization $org
51
+     * @param \rhosocial\organization\Organization $org
52 52
      * @param string|integer $id User ID. If access checking passed, it will be re-assigned with the User model.
53 53
      * @param User $user
54 54
      * @return boolean
Please login to merge, or discard this patch.
web/organization/controllers/my/AddMemberAction.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use rhosocial\user\User;
20 20
 use Yii;
21 21
 use yii\base\Action;
22
-use yii\web\ServerErrorHttpException;
23 22
 
24 23
 /**
25 24
  *
Please login to merge, or discard this patch.