Completed
Pull Request — master (#390)
by Beñat
12:47
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/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.
Notifier/src/Kreta/Notifier/Domain/Model/Inbox/UserRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,5 +18,8 @@
 block discarded – undo
18 18
 {
19 19
     public function get(UserId $id) : User;
20 20
 
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function save(User $user) : void;
22 25
 }
Please login to merge, or discard this patch.
Double/Infrastructure/Symfony/EventListener/DummyAuthenticationListener.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@
 block discarded – undo
49 49
         $this->tokenStorage->getToken()->setUser(new User($this->userId($request)));
50 50
     }
51 51
 
52
+    /**
53
+     * @return string
54
+     */
52 55
     private function userId(Request $request) : ?string
53 56
     {
54 57
         if ($request->headers->has('Authorization')) {
Please login to merge, or discard this patch.
Kreta/Notifier/Domain/Model/Inbox/Notification/NotificationRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,5 +18,8 @@
 block discarded – undo
18 18
 {
19 19
     public function get(NotificationId $id) : Notification;
20 20
 
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function save(Notification $notification) : void;
22 25
 }
Please login to merge, or discard this patch.
Domain/ReadModel/Inbox/Notification/NotificationSpecificationFactory.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 NotificationSpecificationFactory
18 18
 {
19
+    /**
20
+     * @return \Kreta\Notifier\Infrastructure\Domain\ReadModel\Inbox\Notification\ElasticsearchNotificationsOfUserSpecification
21
+     */
19 22
     public function createNotificationsOfUser(string $userId, int $from = 0, int $size = -1, string $status = null);
20 23
 }
Please login to merge, or discard this patch.
src/Kreta/Notifier/Domain/ReadModel/Inbox/Notification/NotificationView.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,9 +18,15 @@
 block discarded – undo
18 18
 
19 19
 interface NotificationView
20 20
 {
21
+    /**
22
+     * @return Notification
23
+     */
21 24
     public function notificationOfId(NotificationId $notificationId) : ?Notification;
22 25
 
23 26
     public function search($searchSpecification) : array;
24 27
 
28
+    /**
29
+     * @return void
30
+     */
25 31
     public function save(Notification $notification) : void;
26 32
 }
Please login to merge, or discard this patch.
Notifier/src/Kreta/Notifier/Domain/ReadModel/Inbox/UserView.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,5 +20,8 @@
 block discarded – undo
20 20
 {
21 21
     public function userOfId(UserId $userId) : ?User;
22 22
 
23
+    /**
24
+     * @return void
25
+     */
23 26
     public function save(User $user) : void;
24 27
 }
Please login to merge, or discard this patch.