@@ -24,7 +24,6 @@ |
||
24 | 24 | use SWP\Bundle\ContentBundle\Doctrine\ArticleRepositoryInterface; |
25 | 25 | use SWP\Bundle\ContentBundle\Model\ArticleInterface; |
26 | 26 | use SWP\Bundle\ContentBundle\Model\RouteInterface; |
27 | -use SWP\Bundle\CoreBundle\Model\Article; |
|
28 | 27 | use SWP\Component\Storage\Factory\FactoryInterface; |
29 | 28 | use SWP\Component\Storage\Repository\RepositoryInterface; |
30 | 29 |
@@ -62,6 +62,9 @@ |
||
62 | 62 | return $result; |
63 | 63 | } |
64 | 64 | |
65 | + /** |
|
66 | + * @return string |
|
67 | + */ |
|
65 | 68 | private function getFragmentFromUrl(string $url, string $fragment): ?string |
66 | 69 | { |
67 | 70 | $fragments = \parse_url($url); |
@@ -43,7 +43,7 @@ |
||
43 | 43 | } |
44 | 44 | |
45 | 45 | $items = $package->getItems()->filter( |
46 | - static function ($entry) use ($guids) { |
|
46 | + static function($entry) use ($guids) { |
|
47 | 47 | return !in_array($entry->getGuid(), $guids, true); |
48 | 48 | } |
49 | 49 | ); |
@@ -120,6 +120,9 @@ |
||
120 | 120 | return ConsumerInterface::MSG_ACK; |
121 | 121 | } |
122 | 122 | |
123 | + /** |
|
124 | + * @param ImageInterface $image |
|
125 | + */ |
|
123 | 126 | private function markArticlesMediaAsUpdated($image) |
124 | 127 | { |
125 | 128 | /** @var ImageRenditionInterface[] $articleMedia */ |