@@ -113,19 +113,19 @@ |
||
| 113 | 113 | // Initial call contains only the sections and need to extract the tabs |
| 114 | 114 | if (is_array($structureElement)) { |
| 115 | 115 | if (isset($structureElement['tab'])) { |
| 116 | - $pathLabel = $this->tabMap[$structureElement['tab']]['label']; |
|
| 116 | + $pathLabel = $this->tabMap[$structureElement['tab']]['label']; |
|
| 117 | 117 | } |
| 118 | 118 | $structureElement = $this->configStructure->getElement($structureElement['id']); |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | - if (mb_stripos((string)$structureElement->getLabel(), $searchTerm) !== false |
|
| 122 | - || mb_stripos((string)$structureElement->getComment(), $searchTerm) !== false |
|
| 121 | + if (mb_stripos((string) $structureElement->getLabel(), $searchTerm) !== false |
|
| 122 | + || mb_stripos((string) $structureElement->getComment(), $searchTerm) !== false |
|
| 123 | 123 | ) { |
| 124 | 124 | $elementData = $structureElement->getData(); |
| 125 | 125 | $this->results[] = [ |
| 126 | 126 | 'id' => trim($structureElement->getPath(), '/'), |
| 127 | 127 | 'type' => $elementData['_elementType'], |
| 128 | - 'name' => trim($pathLabel . ' / ' . trim((string)$structureElement->getLabel()), '/'), |
|
| 128 | + 'name' => trim($pathLabel . ' / ' . trim((string) $structureElement->getLabel()), '/'), |
|
| 129 | 129 | ]; |
| 130 | 130 | } |
| 131 | 131 | |
@@ -19,8 +19,8 @@ |
||
| 19 | 19 | */ |
| 20 | 20 | public function __construct(InputInterface $input = null) |
| 21 | 21 | { |
| 22 | - $this->compressionLevel = $input ? (int)$input->getOption('zstd-level') : 10; |
|
| 23 | - $this->extraArgs = $input ? (string)$input->getOption('zstd-extra-args') : ''; |
|
| 22 | + $this->compressionLevel = $input ? (int) $input->getOption('zstd-level') : 10; |
|
| 23 | + $this->extraArgs = $input ? (string) $input->getOption('zstd-extra-args') : ''; |
|
| 24 | 24 | |
| 25 | 25 | parent::__construct($input); |
| 26 | 26 | } |
@@ -193,7 +193,7 @@ |
||
| 193 | 193 | if (!isset($this->infos[$settingArgument])) { |
| 194 | 194 | throw new InvalidArgumentException('Unknown key: ' . $settingArgument); |
| 195 | 195 | } |
| 196 | - $output->writeln((string)$this->infos[$settingArgument]); |
|
| 196 | + $output->writeln((string) $this->infos[$settingArgument]); |
|
| 197 | 197 | } else { |
| 198 | 198 | $this->getHelper('table') |
| 199 | 199 | ->setHeaders(['name', 'value']) |