Completed
Pull Request — master (#345)
by Gorka
04:04
created
src/Kreta/TaskManager/Domain/Model/Project/Task/TaskRepository.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) : array;
22 22
 
23
+    /**
24
+     * @return void
25
+     */
23 26
     public function persist(Task $task) : void;
24 27
 
28
+    /**
29
+     * @return void
30
+     */
25 31
     public function remove(Task $task) : void;
26 32
 
27 33
     public function count($specification) : int;
Please login to merge, or discard this patch.
Infrastructure/Persistence/Doctrine/DataFixtures/LoadTaskData.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -75,6 +75,11 @@
 block discarded – undo
75 75
         }
76 76
     }
77 77
 
78
+    /**
79
+     * @param integer $index
80
+     *
81
+     * @return string
82
+     */
78 83
     private function taskPriority($index)
79 84
     {
80 85
         $priorityIndex = $index % 2 > 3 ? 0 : 2 - $index % 3;
Please login to merge, or discard this patch.
src/Kreta/IdentityAccess/Domain/Model/User/UserRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,5 +22,8 @@
 block discarded – undo
22 22
 
23 23
     public function usersOfIds(array $userIds) : array;
24 24
 
25
+    /**
26
+     * @param string $search
27
+     */
25 28
     public function usersOfSearchString($search, array $excludedIds = []) : array;
26 29
 }
Please login to merge, or discard this patch.
src/Kreta/TaskManager/Domain/Model/Organization/Organization.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -150,6 +150,9 @@
 block discarded – undo
150 150
         return $this->owners;
151 151
     }
152 152
 
153
+    /**
154
+     * @return Member
155
+     */
153 156
     public function owner(UserId $userId) : ?Owner
154 157
     {
155 158
         foreach ($this->owners() as $owner) {
Please login to merge, or discard this patch.