Completed
Branch master (b5e024)
by Christian
18:16
created
typo3/sysext/core/Classes/Core/Bootstrap.php 1 patch
Switch Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -162,11 +162,11 @@  discard block
 block discarded – undo
162 162
                 }
163 163
 
164 164
                 switch ($id) {
165
-                case \TYPO3\CMS\Frontend\Http\Application::class:
166
-                case \TYPO3\CMS\Backend\Http\Application::class:
167
-                case \TYPO3\CMS\Install\Http\Application::class:
168
-                case \TYPO3\CMS\Core\Console\CommandApplication::class:
169
-                    return true;
165
+                    case \TYPO3\CMS\Frontend\Http\Application::class:
166
+                    case \TYPO3\CMS\Backend\Http\Application::class:
167
+                    case \TYPO3\CMS\Install\Http\Application::class:
168
+                    case \TYPO3\CMS\Core\Console\CommandApplication::class:
169
+                        return true;
170 170
                 }
171 171
 
172 172
                 return false;
@@ -188,23 +188,23 @@  discard block
 block discarded – undo
188 188
                 }
189 189
 
190 190
                 switch ($id) {
191
-                case \TYPO3\CMS\Frontend\Http\Application::class:
192
-                case \TYPO3\CMS\Backend\Http\Application::class:
193
-                    $entry = new $id($this->get(ConfigurationManager::class));
194
-                    break;
195
-                case \TYPO3\CMS\Install\Http\Application::class:
196
-                    $entry = new $id(
197
-                        GeneralUtility::makeInstance(\TYPO3\CMS\Install\Http\RequestHandler::class, $this->get(ConfigurationManager::class)),
198
-                        GeneralUtility::makeInstance(\TYPO3\CMS\Install\Http\InstallerRequestHandler::class)
199
-                    );
200
-                    break;
201
-                case \TYPO3\CMS\Core\Console\CommandApplication::class:
202
-                    $entry = new $id;
203
-                    break;
204
-                default:
205
-                    throw new class($id . ' not found', 1518638338) extends \Exception implements NotFoundExceptionInterface {
206
-                    };
207
-                    break;
191
+                    case \TYPO3\CMS\Frontend\Http\Application::class:
192
+                    case \TYPO3\CMS\Backend\Http\Application::class:
193
+                        $entry = new $id($this->get(ConfigurationManager::class));
194
+                        break;
195
+                    case \TYPO3\CMS\Install\Http\Application::class:
196
+                        $entry = new $id(
197
+                            GeneralUtility::makeInstance(\TYPO3\CMS\Install\Http\RequestHandler::class, $this->get(ConfigurationManager::class)),
198
+                            GeneralUtility::makeInstance(\TYPO3\CMS\Install\Http\InstallerRequestHandler::class)
199
+                        );
200
+                        break;
201
+                    case \TYPO3\CMS\Core\Console\CommandApplication::class:
202
+                        $entry = new $id;
203
+                        break;
204
+                    default:
205
+                        throw new class($id . ' not found', 1518638338) extends \Exception implements NotFoundExceptionInterface {
206
+                        };
207
+                        break;
208 208
                 }
209 209
 
210 210
                 $this->entries[$id] = $entry;
Please login to merge, or discard this patch.