@@ -42,7 +42,7 @@ |
||
| 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 | */ |
@@ -14,7 +14,7 @@ |
||
| 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 |
@@ -14,7 +14,7 @@ |
||
| 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 |
@@ -25,7 +25,7 @@ discard block |
||
| 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 |
||
| 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 | { |