Completed
Push — master ( e44aa2...ea9079 )
by Beñat
19s
created
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.
Application/DataTransformer/Project/Task/TaskDTODataTransformerSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 namespace Spec\Kreta\TaskManager\Application\DataTransformer\Project\Task;
14 14
 
15 15
 use Kreta\SharedKernel\Domain\Model\Identity\Slug;
16
-use Kreta\TaskManager\Application\DataTransformer\Project\Task\TaskDataTransformer;
17 16
 use Kreta\TaskManager\Application\DataTransformer\Project\Task\TaskDTODataTransformer;
17
+use Kreta\TaskManager\Application\DataTransformer\Project\Task\TaskDataTransformer;
18 18
 use Kreta\TaskManager\Domain\Model\Organization\Organization;
19 19
 use Kreta\TaskManager\Domain\Model\Organization\OrganizationId;
20 20
 use Kreta\TaskManager\Domain\Model\Organization\OrganizationName;
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.
Spec/Kreta/IdentityAccess/Application/Command/EditProfileHandlerSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@
 block discarded – undo
23 23
 use Kreta\IdentityAccess\Domain\Model\User\FullName;
24 24
 use Kreta\IdentityAccess\Domain\Model\User\User;
25 25
 use Kreta\IdentityAccess\Domain\Model\User\UserEmailAlreadyExistsException;
26
+use Kreta\IdentityAccess\Domain\Model\User\UserRepository;
26 27
 use Kreta\IdentityAccess\Domain\Model\User\Username;
27 28
 use Kreta\IdentityAccess\Domain\Model\User\UsernameAlreadyExistsException;
28
-use Kreta\IdentityAccess\Domain\Model\User\UserRepository;
29 29
 use PhpSpec\ObjectBehavior;
30 30
 use Prophecy\Argument;
31 31
 
Please login to merge, or discard this patch.
TaskManager/src/Kreta/TaskManager/Domain/Model/User/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 userOfId(UserId $id);
20 20
 
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function persist(User $user);
22 25
 }
Please login to merge, or discard this patch.
SharedKernel/src/Kreta/SharedKernel/Application/CommandBus.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 CommandBus
18 18
 {
19
+    /**
20
+     * @return void
21
+     */
19 22
     public function handle($command) : void;
20 23
 }
Please login to merge, or discard this patch.
SharedKernel/src/Kreta/SharedKernel/Application/QueryBus.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 QueryBus
18 18
 {
19
+    /**
20
+     * @return void
21
+     */
19 22
     public function handle($query, &$result) : void;
20 23
 }
Please login to merge, or discard this patch.
SharedKernel/src/Kreta/SharedKernel/Domain/Event/AsyncEventSubscriber.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
 interface AsyncEventSubscriber
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function handle(AsyncDomainEvent $event) : void;
22 25
 }
Please login to merge, or discard this patch.
src/Kreta/TaskManager/Domain/Model/Project/ProjectSpecificationFactory.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -18,7 +18,15 @@
 block discarded – undo
18 18
 
19 19
 interface ProjectSpecificationFactory
20 20
 {
21
+    /**
22
+     * @param null|string $name
23
+     *
24
+     * @return \Kreta\TaskManager\Infrastructure\Persistence\Doctrine\ORM\Project\DoctrineORMFilterableSpecification
25
+     */
21 26
     public function buildFilterableSpecification(array $organizationIds, $name, int $offset = 0, int $limit = -1);
22 27
 
28
+    /**
29
+     * @return \Kreta\TaskManager\Infrastructure\Persistence\Doctrine\ORM\Project\DoctrineORMBySlugSpecification
30
+     */
23 31
     public function buildBySlugSpecification(Slug $slug, Slug $organizationSlug);
24 32
 }
Please login to merge, or discard this patch.