@@ -283,7 +283,7 @@ |
||
| 283 | 283 | /** |
| 284 | 284 | * Add ContainerData to container. |
| 285 | 285 | * |
| 286 | - * @param $containerData |
|
| 286 | + * @param ContainerData $containerData |
|
| 287 | 287 | */ |
| 288 | 288 | public function addData($containerData) |
| 289 | 289 | { |
@@ -33,10 +33,10 @@ |
||
| 33 | 33 | public static function getSubscribedEvents() |
| 34 | 34 | { |
| 35 | 35 | return [ |
| 36 | - HttpCacheEvent::EVENT_NAME => [ |
|
| 37 | - ['clearContainers', 0], |
|
| 38 | - ], |
|
| 39 | - ]; |
|
| 36 | + HttpCacheEvent::EVENT_NAME => [ |
|
| 37 | + ['clearContainers', 0], |
|
| 38 | + ], |
|
| 39 | + ]; |
|
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | public function clearContainers(HttpCacheEvent $event) |
@@ -66,6 +66,10 @@ |
||
| 66 | 66 | throw new ResourceNotFoundException($resourcePath, $theme); |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | + /** |
|
| 70 | + * @param string $resourcePath |
|
| 71 | + * @param ThemeInterface $theme |
|
| 72 | + */ |
|
| 69 | 73 | protected function getBundlePaths($resourcePath, $theme) |
| 70 | 74 | { |
| 71 | 75 | $bundleName = $this->getBundleNameFromResourcePath($resourcePath); |