@@ -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; |
@@ -75,6 +75,9 @@ discard block |
||
| 75 | 75 | */ |
| 76 | 76 | private $configurationCache = []; |
| 77 | 77 | |
| 78 | + /** |
|
| 79 | + * @param string $configsPath |
|
| 80 | + */ |
|
| 78 | 81 | public function __construct(EventDispatcherInterface $dispatcher, Cache $metadataCache, $configsPath = null) |
| 79 | 82 | { |
| 80 | 83 | $this->metadataCache = $metadataCache; |
@@ -312,7 +315,7 @@ discard block |
||
| 312 | 315 | } |
| 313 | 316 | |
| 314 | 317 | /** |
| 315 | - * @param array $keys |
|
| 318 | + * @param string[] $keys |
|
| 316 | 319 | * |
| 317 | 320 | * @return string |
| 318 | 321 | */ |
@@ -344,7 +347,7 @@ discard block |
||
| 344 | 347 | /** |
| 345 | 348 | * @param string $id |
| 346 | 349 | * |
| 347 | - * @return null|true |
|
| 350 | + * @return null|boolean |
|
| 348 | 351 | */ |
| 349 | 352 | public function restoreTemporaryUnset($id) |
| 350 | 353 | { |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | class ContainerExtension extends AbstractExtension |
| 24 | 24 | { |
| 25 | 25 | /** |
| 26 | - * @return array|\Twig\TokenParser\TokenParserInterface[] |
|
| 26 | + * @return ContainerTokenParser[] |
|
| 27 | 27 | */ |
| 28 | 28 | public function getTokenParsers() |
| 29 | 29 | { |