@@ -16,5 +16,8 @@ |
||
16 | 16 | |
17 | 17 | interface Resolver |
18 | 18 | { |
19 | + /** |
|
20 | + * @param string $args |
|
21 | + */ |
|
19 | 22 | public function resolve($args); |
20 | 23 | } |
@@ -113,6 +113,9 @@ discard block |
||
113 | 113 | ); |
114 | 114 | } |
115 | 115 | |
116 | + /** |
|
117 | + * @param null|string $userId |
|
118 | + */ |
|
116 | 119 | private function addUserId($userIds, Organization $organization, ? string $userId) |
117 | 120 | { |
118 | 121 | if (null !== $userId) { |
@@ -122,6 +125,9 @@ discard block |
||
122 | 125 | return $userIds; |
123 | 126 | } |
124 | 127 | |
128 | + /** |
|
129 | + * @param null|string $parentId |
|
130 | + */ |
|
125 | 131 | private function parentTask(? string $parentId, UserId $userId) : ? TaskId |
126 | 132 | { |
127 | 133 | if (null === $parentId) { |
@@ -127,6 +127,9 @@ discard block |
||
127 | 127 | }, $tasks); |
128 | 128 | } |
129 | 129 | |
130 | + /** |
|
131 | + * @param null|string $userId |
|
132 | + */ |
|
130 | 133 | private function addUserId($userIds, Organization $organization, ? string $userId) |
131 | 134 | { |
132 | 135 | if (null !== $userId) { |
@@ -136,6 +139,9 @@ discard block |
||
136 | 139 | return $userIds; |
137 | 140 | } |
138 | 141 | |
142 | + /** |
|
143 | + * @param null|string $parentId |
|
144 | + */ |
|
139 | 145 | private function parentTask(? string $parentId, UserId $userId) : ? TaskId |
140 | 146 | { |
141 | 147 | if (null === $parentId) { |
@@ -18,6 +18,9 @@ |
||
18 | 18 | |
19 | 19 | interface MemberDataTransformer |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function write(Member $member); |
22 | 25 | |
23 | 26 | public function read(); |
@@ -18,6 +18,9 @@ |
||
18 | 18 | |
19 | 19 | interface OrganizationDataTransformer |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function write(Organization $organization); |
22 | 25 | |
23 | 26 | public function read(); |
@@ -18,6 +18,9 @@ |
||
18 | 18 | |
19 | 19 | interface ProjectDataTransformer |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function write(Project $project); |
22 | 25 | |
23 | 26 | public function read(); |
@@ -18,6 +18,9 @@ |
||
18 | 18 | |
19 | 19 | interface TaskDataTransformer |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function write(Task $task); |
22 | 25 | |
23 | 26 | public function read(); |
@@ -20,8 +20,14 @@ |
||
20 | 20 | |
21 | 21 | public function query($specification); |
22 | 22 | |
23 | + /** |
|
24 | + * @return void |
|
25 | + */ |
|
23 | 26 | public function persist(Organization $organization); |
24 | 27 | |
28 | + /** |
|
29 | + * @return void |
|
30 | + */ |
|
25 | 31 | public function remove(Organization $organization); |
26 | 32 | |
27 | 33 | public function count($specification) : int; |
@@ -25,6 +25,11 @@ discard block |
||
25 | 25 | private $imageMimeType; |
26 | 26 | private $uploadedImage; |
27 | 27 | |
28 | + /** |
|
29 | + * @param string|null $imageName |
|
30 | + * @param string|null $imageMimeType |
|
31 | + * @param string|null $uploadedImage |
|
32 | + */ |
|
28 | 33 | public function __construct( |
29 | 34 | string $id, |
30 | 35 | string $email, |
@@ -70,11 +75,17 @@ discard block |
||
70 | 75 | return $this->lastName; |
71 | 76 | } |
72 | 77 | |
78 | + /** |
|
79 | + * @return string |
|
80 | + */ |
|
73 | 81 | public function imageName() |
74 | 82 | { |
75 | 83 | return $this->imageName; |
76 | 84 | } |
77 | 85 | |
86 | + /** |
|
87 | + * @return string |
|
88 | + */ |
|
78 | 89 | public function imageMimeType() |
79 | 90 | { |
80 | 91 | return $this->imageMimeType; |