@@ -307,6 +307,9 @@ |
||
307 | 307 | return new SingleResourceResponse($form, new ResponseContext(400)); |
308 | 308 | } |
309 | 309 | |
310 | + /** |
|
311 | + * @param ContentListInterface $listId |
|
312 | + */ |
|
310 | 313 | private function findByContentOr404($listId, $contentId): ContentListItemInterface |
311 | 314 | { |
312 | 315 | /** @var ContentListItemInterface $listItem */ |
@@ -59,6 +59,10 @@ discard block |
||
59 | 59 | $manager->flush(); |
60 | 60 | } |
61 | 61 | |
62 | + /** |
|
63 | + * @param string $env |
|
64 | + * @param ObjectManager $manager |
|
65 | + */ |
|
62 | 66 | public function loadRoutes($env, $manager): void |
63 | 67 | { |
64 | 68 | $routes = [ |
@@ -221,6 +225,9 @@ discard block |
||
221 | 225 | $manager->flush(); |
222 | 226 | } |
223 | 227 | |
228 | + /** |
|
229 | + * @param string $env |
|
230 | + */ |
|
224 | 231 | public function loadArticles($env, ObjectManager $manager): void |
225 | 232 | { |
226 | 233 | $articleDataProvider = $this->container->get(ArticleDataProvider::class); |
@@ -576,6 +583,10 @@ discard block |
||
576 | 583 | return $articleStatistics; |
577 | 584 | } |
578 | 585 | |
586 | + /** |
|
587 | + * @param string $fakeImage |
|
588 | + * @param string $targetFile |
|
589 | + */ |
|
579 | 590 | private function cropAndResizeImage($fakeImage, array $rendition, $targetFile): void |
580 | 591 | { |
581 | 592 | $image = imagecreatefromjpeg($fakeImage); |
@@ -38,6 +38,10 @@ |
||
38 | 38 | $manager->flush(); |
39 | 39 | } |
40 | 40 | |
41 | + /** |
|
42 | + * @param string $env |
|
43 | + * @param ObjectManager $manager |
|
44 | + */ |
|
41 | 45 | public function loadArticles($env, $manager) |
42 | 46 | { |
43 | 47 | $articles = [ |