Completed
Pull Request — master (#379)
by Beñat
04:29
created
SharedKernel/src/Kreta/SharedKernel/Http/GraphQl/Resolver.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,5 +16,8 @@
 block discarded – undo
16 16
 
17 17
 interface Resolver
18 18
 {
19
+    /**
20
+     * @param string $args
21
+     */
19 22
     public function resolve($args);
20 23
 }
Please login to merge, or discard this patch.
src/Kreta/TaskManager/Application/Query/Project/Task/CountTasksHandler.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -113,6 +113,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Kreta/TaskManager/Application/Query/Project/Task/FilterTasksHandler.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -127,6 +127,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Application/DataTransformer/Organization/MemberDataTransformer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
Application/DataTransformer/Organization/OrganizationDataTransformer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
TaskManager/Application/DataTransformer/Project/ProjectDataTransformer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
Application/DataTransformer/Project/Task/TaskDataTransformer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Kreta/TaskManager/Domain/Model/Organization/OrganizationRepository.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -20,8 +20,14 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Kreta/IdentityAccess/Application/Command/EditProfileCommand.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -25,6 +25,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.