| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | trait HasEntrypointLookup |
||
| 12 | { |
||
| 13 | protected function getEntrypointLookup(string $entrypointName): EntrypointLookupInterface |
||
|
|
|||
| 14 | { |
||
| 15 | return $this->getContainer()->get('assets.entrypoint_lookup'); |
||
| 16 | } |
||
| 17 | |||
| 18 | public function getWebpackJsFiles(string $entryName, string $entrypointName = '_default'): array |
||
| 19 | { |
||
| 20 | return $this->getEntrypointLookup($entrypointName) |
||
| 21 | ->getJavaScriptFiles($entryName); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getWebpackCssFiles(string $entryName, string $entrypointName = '_default'): array |
||
| 28 | } |
||
| 29 | } |
||
| 30 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.