Completed
Push — feature/rewrite ( 88e863 )
by Alexandre
04:00
created
src/Page/Application/Service/WebPageReadService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @param $id
45
+     * @param \Black\Page\Domain\Model\WebPageId $id
46 46
      *
47 47
      * @return WebPageDTO
48 48
      */
Please login to merge, or discard this patch.
src/Page/Infrastructure/CQRS/Command/WriteWebPageCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     }
47 47
 
48 48
     /**
49
-     * @return mixed
49
+     * @return \Black\Page\Domain\Model\WebPage
50 50
      */
51 51
     public function getWebPageId()
52 52
     {
Please login to merge, or discard this patch.
src/Page/Infrastructure/Persistence/MongoDB/ReadRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 class ReadRepository extends DocumentRepository implements WebPageReadRepository
15 15
 {
16 16
     /**
17
-     * @param mixed $id
17
+     * @param WebPageId $id
18 18
      * @return mixed
19 19
      * @throws \Doctrine\ORM\NoResultException
20 20
      * @throws \Doctrine\ORM\NonUniqueResultException
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Black\Component\Common\Infrastructure\Persistence\MongoDB\DocumentRepository;
6 6
 use Black\Page\Domain\Model\WebPageId;
7 7
 use Black\Page\Domain\Model\WebPageReadRepository;
8
-use Doctrine\Common\Persistence\ObjectManager;
9 8
 use Doctrine\ORM\NoResultException;
10 9
 
11 10
 /**
Please login to merge, or discard this patch.
src/Page/Infrastructure/Persistence/ORM/ReadRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 class ReadRepository extends EntityRepository implements WebPageReadRepository
15 15
 {
16 16
     /**
17
-     * @param mixed $id
17
+     * @param WebPageId $id
18 18
      * @return mixed
19 19
      * @throws \Doctrine\ORM\NoResultException
20 20
      * @throws \Doctrine\ORM\NonUniqueResultException
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Black\Component\Common\Infrastructure\Persistence\ORM\EntityRepository;
6 6
 use Black\Page\Domain\Model\WebPageId;
7 7
 use Black\Page\Domain\Model\WebPageReadRepository;
8
-use Doctrine\Common\Persistence\ObjectManager;
9 8
 use Doctrine\ORM\NoResultException;
10 9
 
11 10
 /**
Please login to merge, or discard this patch.