Completed
Push — develop ( 0f5a88...a06987 )
by Nate
04:58
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/relationships/RelationshipTrait.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      *
139 139
      * @param $objects
140 140
      * @param array $attributes
141
-     * @return RelationshipInterface
141
+     * @return RelationshipTrait
142 142
      */
143 143
     public function add($objects, array $attributes = []): RelationshipInterface
144 144
     {
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
 
164 164
     /**
165 165
      * @param $objects
166
-     * @return RelationshipInterface
166
+     * @return RelationshipTrait
167 167
      */
168 168
     public function remove($objects): RelationshipInterface
169 169
     {
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 
184 184
     /**
185 185
      * Reset associations
186
-     * @return RelationshipInterface
186
+     * @return RelationshipTrait
187 187
      */
188 188
     public function reset(): RelationshipInterface
189 189
     {
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 
195 195
     /**
196 196
      * Reset associations
197
-     * @return RelationshipInterface
197
+     * @return RelationshipTrait
198 198
      */
199 199
     public function clear(): RelationshipInterface
200 200
     {
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/OrganizationTypeRelationship.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
 
176 176
     /**
177 177
      * @param OrganizationTypeAssociation|OrganizationType|int|array $type
178
-     * @return OrganizationType|null
178
+     * @return \flipbox\craft\ember\records\ActiveRecord|null
179 179
      */
180 180
     protected function resolveObject($type)
181 181
     {
Please login to merge, or discard this patch.