@@ -277,7 +277,7 @@ |
||
277 | 277 | */ |
278 | 278 | protected function runMagerunCommand(InputInterface $input, OutputInterface $output, $commandString) |
279 | 279 | { |
280 | - $noInteraction = ! $input->getOption('no-interaction'); |
|
280 | + $noInteraction = !$input->getOption('no-interaction'); |
|
281 | 281 | $this->getApplication()->setAutoExit(false); |
282 | 282 | $commandString = $this->_replaceScriptVars($commandString); |
283 | 283 | $input = new StringInput($commandString); |
@@ -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 |