Completed
Push — master ( b27204...a2c64d )
by Nate
05:15 queued 02:48
created
src/actions/users/AbstractUserAssociation.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@  discard block
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * @inheritdoc
29
-     * @param UserAssociation $record
30 29
      * @return bool
31 30
      */
32 31
     abstract protected function performAction(User $user, Organization $organization, int $sortOrder = null): bool;
@@ -62,7 +61,7 @@  discard block
 block discarded – undo
62 61
     }
63 62
 
64 63
     /**
65
-     * @param string|int $identifier
64
+     * @param string $identifier
66 65
      * @return User|null
67 66
      */
68 67
     protected function findUser($identifier)
Please login to merge, or discard this patch.
src/behaviors/UserOrganizationsBehavior.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     }
89 89
 
90 90
     /**
91
-     * @param User|self $user
91
+     * @param User $user
92 92
      * @throws Exception
93 93
      * @throws \Exception
94 94
      * @throws \Throwable
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     }
119 119
 
120 120
     /**
121
-     * @param User|self $user
121
+     * @param User $user
122 122
      * @return void
123 123
      */
124 124
     private function onAfterValidate(User $user)
Please login to merge, or discard this patch.
src/behaviors/UserTypesBehavior.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
     /**
70 70
      * Set an array or query of user types to a user
71 71
      *
72
-     * @param $userTypes
72
+     * @param UserTypeQuery $userTypes
73 73
      * @return $this
74 74
      */
75 75
     public function setUserTypes($userTypes)
Please login to merge, or discard this patch.
src/elements/TypesAttributeTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -271,7 +271,7 @@
 block discarded – undo
271 271
     /**
272 272
      * Get an associated type by identifier (id/handle)
273 273
      *
274
-     * @param $identifier
274
+     * @param integer|null $identifier
275 275
      * @return null|TypeModel
276 276
      */
277 277
     public function getType($identifier)
Please login to merge, or discard this patch.
src/elements/UsersAttributeTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -168,6 +168,9 @@
 block discarded – undo
168 168
         return $this;
169 169
     }
170 170
 
171
+    /**
172
+     * @return User
173
+     */
171 174
     protected function resolveUser($user)
172 175
     {
173 176
         if (is_array($user) &&
Please login to merge, or discard this patch.