@@ -82,6 +82,9 @@ |
||
82 | 82 | return $list; |
83 | 83 | } |
84 | 84 | |
85 | + /** |
|
86 | + * @param string $id |
|
87 | + */ |
|
85 | 88 | private function findArticleOr404($id) |
86 | 89 | { |
87 | 90 | if (null === $article = $this->get('swp.repository.article')->findOneById($id)) { |
@@ -179,6 +179,9 @@ |
||
179 | 179 | ]); |
180 | 180 | } |
181 | 181 | |
182 | + /** |
|
183 | + * @param string $token |
|
184 | + */ |
|
182 | 185 | private function generateOrGetApiKey(UserInterface $user, $token) |
183 | 186 | { |
184 | 187 | $apiKey = null; |