@@ -71,6 +71,9 @@ |
||
71 | 71 | return 'Route for media '.$name->getValues()->getId().' not found'; |
72 | 72 | } |
73 | 73 | |
74 | + /** |
|
75 | + * @param string $name |
|
76 | + */ |
|
74 | 77 | private function getItem($name) |
75 | 78 | { |
76 | 79 | $values = $name->getValues(); |
@@ -209,6 +209,9 @@ |
||
209 | 209 | } |
210 | 210 | } |
211 | 211 | |
212 | + /** |
|
213 | + * @param ContentListInterface $listId |
|
214 | + */ |
|
212 | 215 | private function findByContentOr404($listId, $contentId): ContentListItemInterface |
213 | 216 | { |
214 | 217 | $listItem = $this->get('swp.repository.content_list_item')->findOneBy([ |