@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | |
23 | 23 | public const DEFAULT_ROUTE_NAME = 'default'; |
24 | 24 | |
25 | - protected string $routeName = self::DEFAULT_ROUTE_NAME; |
|
25 | + protected string $routeName = self::DEFAULT_ROUTE_NAME; |
|
26 | 26 | protected ?string $controllerName = null; |
27 | 27 | protected ?string $actionName = null; |
28 | 28 | protected Configuration $configuration; |
@@ -30,11 +30,11 @@ discard block |
||
30 | 30 | /** |
31 | 31 | * @var array<string, StrategyInterface> |
32 | 32 | */ |
33 | - protected array $strategy = []; |
|
34 | - protected ?AssetManager $assetManager = null; |
|
35 | - protected ?AssetWriter $assetWriter = null; |
|
33 | + protected array $strategy = []; |
|
34 | + protected ?AssetManager $assetManager = null; |
|
35 | + protected ?AssetWriter $assetWriter = null; |
|
36 | 36 | protected ?WorkerInterface $cacheBusterStrategy = null; |
37 | - protected ?AsseticFilterManager $filterManager = null; |
|
37 | + protected ?AsseticFilterManager $filterManager = null; |
|
38 | 38 | |
39 | 39 | public function __construct(Configuration $configuration) |
40 | 40 | { |
@@ -421,9 +421,9 @@ discard block |
||
421 | 421 | |
422 | 422 | /** @var AssetInterface $value */ |
423 | 423 | if ($disableSourcePath) { |
424 | - $value->setTargetPath(( $targetPath ?? '' ) . basename($sourcePath)); |
|
424 | + $value->setTargetPath(($targetPath ?? '') . basename($sourcePath)); |
|
425 | 425 | } else { |
426 | - $value->setTargetPath(( $targetPath ?? '' ) . $sourcePath); |
|
426 | + $value->setTargetPath(($targetPath ?? '') . $sourcePath); |
|
427 | 427 | } |
428 | 428 | |
429 | 429 | $value = $this->cacheAsset($value); |
@@ -33,7 +33,7 @@ |
||
33 | 33 | protected function execute(InputInterface $input, OutputInterface $output): int |
34 | 34 | { |
35 | 35 | $config = $this->assetic->getConfiguration(); |
36 | - $mode = (null !== ($mode = $config->getUmask())) ? $mode : 0775; |
|
36 | + $mode = (null !== ($mode = $config->getUmask())) ? $mode : 0775; |
|
37 | 37 | |
38 | 38 | if (!$this->createPath($output, 'Cache', $config->getCachePath() ?? '', $mode)) { |
39 | 39 | return 1; |
@@ -14,7 +14,6 @@ |
||
14 | 14 | |
15 | 15 | /** |
16 | 16 | * The assetic service |
17 | - |
|
18 | 17 | */ |
19 | 18 | private Service $assetic; |
20 | 19 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | use Laminas\View\Renderer; |
7 | 7 | use Laminas\ServiceManager\Factory\InvokableFactory; |
8 | 8 | |
9 | -return (function () { |
|
9 | +return (function() { |
|
10 | 10 | $config = [ |
11 | 11 | 'service_manager' => [ |
12 | 12 | 'aliases' => [ |