@@ -36,7 +36,7 @@ |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @return array |
|
| 39 | + * @return string[] |
|
| 40 | 40 | */ |
| 41 | 41 | public function getAllScriptPaths(): array |
| 42 | 42 | { |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | namespace Shopware\Psh\Config; |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | namespace Shopware\Psh\Config; |
@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | namespace Shopware\Psh\Config; |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | ); |
| 109 | 109 | |
| 110 | 110 | $this->configBuilder->setTemplates( |
| 111 | - array_map(function ($template) use ($file) { |
|
| 111 | + array_map(function($template) use ($file) { |
|
| 112 | 112 | $template['source'] = $this->fixPath($template['source'], $file); |
| 113 | 113 | $template['destination'] = $this->fixPath($template['destination'], $file); |
| 114 | 114 | |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | { |
| 160 | 160 | $paths = $this->extractData(self::KEY_COMMAND_PATHS, $rawConfigData, []); |
| 161 | 161 | |
| 162 | - return array_map(function ($path) use ($file) { |
|
| 162 | + return array_map(function($path) use ($file) { |
|
| 163 | 163 | return $this->fixPath($path, $file); |
| 164 | 164 | }, $paths); |
| 165 | 165 | } |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | namespace Shopware\Psh\ScriptRuntime; |
@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | namespace Shopware\Psh\ScriptRuntime; |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | */ |
| 106 | 106 | protected function runProcess(Process $process) |
| 107 | 107 | { |
| 108 | - $process->run(function ($type, $response) { |
|
| 108 | + $process->run(function($type, $response) { |
|
| 109 | 109 | if (Process::ERR === $type) { |
| 110 | 110 | $this->logger->err($response); |
| 111 | 111 | } else { |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Shopware\Psh\Application; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | namespace Shopware\Psh\Listing; |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @param array $dynamicVariables |
|
| 64 | + * @param string|null $dynamicVariables |
|
| 65 | 65 | * @return ConfigBuilder |
| 66 | 66 | */ |
| 67 | 67 | public function setDynamicVariables(array $dynamicVariables): ConfigBuilder |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |
| 74 | - * @param array $constants |
|
| 74 | + * @param string|null $constants |
|
| 75 | 75 | * @return ConfigBuilder |
| 76 | 76 | */ |
| 77 | 77 | public function setConstants(array $constants): ConfigBuilder |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | namespace Shopware\Psh\Config; |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | namespace Shopware\Psh\Listing; |