@@ -26,7 +26,6 @@ discard block |
||
| 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 |
||
| 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) |
@@ -88,7 +88,7 @@ discard block |
||
| 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 |
||
| 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) |
@@ -69,7 +69,7 @@ |
||
| 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) |
@@ -271,7 +271,7 @@ |
||
| 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) |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | 47 | * @inheritdoc |
| 48 | - * @return OrganizationType|null |
|
| 48 | + * @return \flipbox\craft\ember\records\ActiveRecord|null |
|
| 49 | 49 | */ |
| 50 | 50 | protected function find($identifier) |
| 51 | 51 | { |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | trait DateJoinedMutatorTrait |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * @param $value |
|
| 23 | + * @param DateTime $value |
|
| 24 | 24 | * @return $this |
| 25 | 25 | */ |
| 26 | 26 | public function setDateJoined($value) |