Skip to content

Commit 16fb8fb

Browse files
fixup! perf(app-framework): Make the app middleware registration lazy
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 parent b06ca26 commit 16fb8fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/private/AppFramework/DependencyInjection/DIContainer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ public function __construct(string $appName, array $urlParams = [], ServerContai
315315
$c->get(\OC\AppFramework\Middleware\AdditionalScriptsMiddleware::class)
316316
);
317317

318-
/** @var OC\AppFramework\Bootstrap\Coordinator $coordinator */
319-
$coordinator = $c->get(OC\AppFramework\Bootstrap\Coordinator::class);
318+
/** @var \OC\AppFramework\Bootstrap\Coordinator $coordinator */
319+
$coordinator = $c->get(\OC\AppFramework\Bootstrap\Coordinator::class);
320320
$registrationContext = $coordinator->getRegistrationContext();
321321
if ($registrationContext !== null) {
322322
$appId = $this->getAppName();

0 commit comments

Comments
 (0)