Completed
Push — master ( 9495f2...9e4a5a )
by Nate
11:36 queued 10:13
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/UserTypeMutatorTrait.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
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
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
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/queries/OrganizationTypeQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/managers/OrganizationTypeRelationshipManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.