@@ -29,6 +29,7 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * @param string $about |
| 32 | + * @return void |
|
| 32 | 33 | */ |
| 33 | 34 | public function setAbout(string $about); |
| 34 | 35 | |
@@ -39,6 +40,7 @@ discard block |
||
| 39 | 40 | |
| 40 | 41 | /** |
| 41 | 42 | * @param string $firstName |
| 43 | + * @return void |
|
| 42 | 44 | */ |
| 43 | 45 | public function setFirstName(string $firstName); |
| 44 | 46 | |
@@ -49,6 +51,7 @@ discard block |
||
| 49 | 51 | |
| 50 | 52 | /** |
| 51 | 53 | * @param string $lastName |
| 54 | + * @return void |
|
| 52 | 55 | */ |
| 53 | 56 | public function setLastName(string $lastName); |
| 54 | 57 | |
@@ -59,6 +62,7 @@ discard block |
||
| 59 | 62 | |
| 60 | 63 | /** |
| 61 | 64 | * @param string $externalId |
| 65 | + * @return void |
|
| 62 | 66 | */ |
| 63 | 67 | public function setExternalId(string $externalId); |
| 64 | 68 | } |
@@ -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); |