@@ -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 */ |
@@ -228,6 +228,9 @@ |
||
| 228 | 228 | ]); |
| 229 | 229 | } |
| 230 | 230 | |
| 231 | + /** |
|
| 232 | + * @param null|string $token |
|
| 233 | + */ |
|
| 231 | 234 | private function generateOrGetApiKey(UserInterface $user, $token): ?ApiKeyInterface |
| 232 | 235 | { |
| 233 | 236 | $apiKey = null; |
@@ -44,6 +44,9 @@ |
||
| 44 | 44 | return iterator_to_array($this->doLocateFilesNamed($name)); |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param string $name |
|
| 49 | + */ |
|
| 47 | 50 | private function doLocateFilesNamed($name) |
| 48 | 51 | { |
| 49 | 52 | $this->assertNameIsNotEmpty($name); |
@@ -25,6 +25,9 @@ |
||
| 25 | 25 | |
| 26 | 26 | protected $subject; |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @param \SWP\Bundle\ContentBundle\Model\ArticleInterface $subject |
|
| 30 | + */ |
|
| 28 | 31 | public function __construct($subject) |
| 29 | 32 | { |
| 30 | 33 | $this->subject = $subject; |
@@ -32,6 +32,9 @@ |
||
| 32 | 32 | $this->propertyName = $propertyName; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @return \SWP\Bundle\CoreBundle\Model\ArticleInterface |
|
| 37 | + */ |
|
| 35 | 38 | public function getData() |
| 36 | 39 | { |
| 37 | 40 | return $this->data; |