@@ -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); |
@@ -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; |