Completed
Push — develop ( 0ce877...17bbdd )
by Nate
06:56
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/actions/organizations/UpdateOrganizationType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/behaviors/OrganizationsAssociatedToUserBehavior.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/objects/DateJoinedMutatorTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/validators/OrganizationsValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/objects/OrganizationTypeMutatorTrait.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     }
79 79
 
80 80
     /**
81
-     * @return OrganizationType|null
81
+     * @return \flipbox\craft\ember\records\ActiveRecord|null
82 82
      */
83 83
     public function getType()
84 84
     {
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     }
99 99
 
100 100
     /**
101
-     * @return OrganizationType|null
101
+     * @return \flipbox\craft\ember\records\ActiveRecord|null
102 102
      */
103 103
     protected function resolveType()
104 104
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     }
111 111
 
112 112
     /**
113
-     * @return OrganizationType|null
113
+     * @return null|\flipbox\craft\ember\records\ActiveRecord
114 114
      */
115 115
     private function resolveTypeFromId()
116 116
     {
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 
124 124
     /**
125 125
      * @param $type
126
-     * @return OrganizationType|null
126
+     * @return null|\flipbox\craft\ember\records\ActiveRecord
127 127
      */
128 128
     protected function internalResolveType($type = null)
129 129
     {
Please login to merge, or discard this patch.
src/objects/UserTypeMutatorTrait.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     }
78 78
 
79 79
     /**
80
-     * @return UserType|null
80
+     * @return \flipbox\craft\ember\records\ActiveRecord|null
81 81
      */
82 82
     public function getType()
83 83
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     }
98 98
 
99 99
     /**
100
-     * @return UserType|null
100
+     * @return \flipbox\craft\ember\records\ActiveRecord|null
101 101
      */
102 102
     protected function resolveType()
103 103
     {
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     }
110 110
 
111 111
     /**
112
-     * @return UserType|null
112
+     * @return null|\flipbox\craft\ember\records\ActiveRecord
113 113
      */
114 114
     private function resolveTypeFromId()
115 115
     {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 
123 123
     /**
124 124
      * @param $type
125
-     * @return UserType|null
125
+     * @return null|\flipbox\craft\ember\records\ActiveRecord
126 126
      */
127 127
     protected function internalResolveType($type = null)
128 128
     {
Please login to merge, or discard this patch.
src/relationships/OrganizationRelationship.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -227,8 +227,8 @@
 block discarded – undo
227 227
      *******************************************/
228 228
 
229 229
     /**
230
-     * @param UserAssociation|Organization|int|array|null $object
231
-     * @return int|null
230
+     * @param UserAssociation $object
231
+     * @return string
232 232
      */
233 233
     protected function findKey($object = null)
234 234
     {
Please login to merge, or discard this patch.
src/relationships/OrganizationTypeRelationship.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -179,8 +179,8 @@  discard block
 block discarded – undo
179 179
      *******************************************/
180 180
 
181 181
     /**
182
-     * @param OrganizationTypeAssociation|OrganizationType|int|array|null $object
183
-     * @return int|null
182
+     * @param OrganizationTypeAssociation $object
183
+     * @return string
184 184
      */
185 185
     protected function findKey($object = null)
186 186
     {
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
 
214 214
     /**
215 215
      * @param OrganizationTypeAssociation|OrganizationType|int|array $type
216
-     * @return OrganizationType|null
216
+     * @return \flipbox\craft\ember\records\ActiveRecord|null
217 217
      */
218 218
     protected function resolveObjectInternal($type)
219 219
     {
Please login to merge, or discard this patch.