@@ -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) |
@@ -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 | { |
@@ -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) |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | - * @return UserType|null |
|
| 93 | + * @return \flipbox\craft\ember\records\ActiveRecord|null |
|
| 94 | 94 | */ |
| 95 | 95 | protected function resolveType() |
| 96 | 96 | { |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | /** |
| 105 | - * @return UserType|null |
|
| 105 | + * @return null|\flipbox\craft\ember\records\ActiveRecord |
|
| 106 | 106 | */ |
| 107 | 107 | private function resolveTypeFromId() |
| 108 | 108 | { |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | |
| 116 | 116 | /** |
| 117 | 117 | * @param $type |
| 118 | - * @return UserType|null |
|
| 118 | + * @return null|\flipbox\craft\ember\records\ActiveRecord |
|
| 119 | 119 | */ |
| 120 | 120 | protected function internalResolveType($type = null) |
| 121 | 121 | { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | - * @param $type |
|
| 53 | + * @param \flipbox\craft\ember\records\ActiveRecord $type |
|
| 54 | 54 | * @return static |
| 55 | 55 | */ |
| 56 | 56 | public function setType($type = null) |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | - * @return OrganizationType|null |
|
| 93 | + * @return \flipbox\craft\ember\records\ActiveRecord|null |
|
| 94 | 94 | */ |
| 95 | 95 | protected function resolveType() |
| 96 | 96 | { |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | /** |
| 105 | - * @return OrganizationType|null |
|
| 105 | + * @return null|\flipbox\craft\ember\records\ActiveRecord |
|
| 106 | 106 | */ |
| 107 | 107 | private function resolveTypeFromId() |
| 108 | 108 | { |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | |
| 116 | 116 | /** |
| 117 | 117 | * @param $type |
| 118 | - * @return OrganizationType|null |
|
| 118 | + * @return null|\flipbox\craft\ember\records\ActiveRecord |
|
| 119 | 119 | */ |
| 120 | 120 | protected function internalResolveType($type = null) |
| 121 | 121 | { |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | /** |
| 23 | 23 | * @noinspection PhpDocMissingThrowsInspection |
| 24 | 24 | * |
| 25 | - * @param $value |
|
| 25 | + * @param DateTime $value |
|
| 26 | 26 | * @return $this |
| 27 | 27 | */ |
| 28 | 28 | public function setDateJoined($value) |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | /** |
| 39 | 39 | * Validates a single attribute. |
| 40 | 40 | * Child classes must implement this method to provide the actual validation logic. |
| 41 | - * @param Model|OrganizationsAssociatedToUserBehavior $model the data model to be validated |
|
| 41 | + * @param \craft\elements\User $model the data model to be validated |
|
| 42 | 42 | * @param string $attribute the name of the attribute to be validated. |
| 43 | 43 | */ |
| 44 | 44 | public function validateAttribute($model, $attribute) |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | public $id; |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @param $value |
|
| 64 | + * @param \Tightenco\Collect\Support\Collection $value |
|
| 65 | 65 | * @return $this |
| 66 | 66 | */ |
| 67 | 67 | public function id($value) |
@@ -162,7 +162,7 @@ |
||
| 162 | 162 | |
| 163 | 163 | /** |
| 164 | 164 | * @param OrganizationTypeAssociation|OrganizationType|int|array|null $type |
| 165 | - * @return OrganizationType|null |
|
| 165 | + * @return null|\flipbox\craft\ember\records\ActiveRecord |
|
| 166 | 166 | */ |
| 167 | 167 | protected function resolveType($type = null) |
| 168 | 168 | { |