Completed
Push — feature/rewrite ( db5d15...524c80 )
by Alexandre
01:48
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/Persistence/DoctrineMongoDBRepository.php 1 patch
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.
src/Page/Infrastructure/Persistence/DoctrineORMRepository.php 1 patch
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.
src/Page/Infrastructure/Service/WebPageReadService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param WebPageId $webPageId
28
-     * @return mixed
28
+     * @return \Black\Page\Domain\Model\WebPage
29 29
      */
30 30
     public function read(WebPageId $webPageId)
31 31
     {
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
     /**
42 42
      * @param $slug
43
-     * @return mixed
43
+     * @return \Black\Page\Domain\Model\WebPage
44 44
      */
45 45
     public function readBySlug($slug)
46 46
     {
Please login to merge, or discard this patch.