From 6739a98a57c78a7ad1ee9098246608750fc40133 Mon Sep 17 00:00:00 2001 From: HouraisanNEET <75371007+HouraisanNEET@users.noreply.github.com> Date: Fri, 23 Apr 2021 05:33:49 +0800 Subject: [PATCH] Update bootstrap.rst Signed-off-by: HouraisanNEET --- developer_manual/app_development/bootstrap.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/developer_manual/app_development/bootstrap.rst b/developer_manual/app_development/bootstrap.rst index a6bf569e7..b1d13b8f8 100644 --- a/developer_manual/app_development/bootstrap.rst +++ b/developer_manual/app_development/bootstrap.rst @@ -82,7 +82,7 @@ The class **must** extend ``OCP\AppFramework\App`` and may optionally implement // ... boot logic goes here ... /** @var IManager $manager */ - $manager = $context->getAppContainer()->query(IManager::class) + $manager = $context->getAppContainer()->query(IManager::class); $manager->registerNotifierService(Notifier::class); } @@ -144,6 +144,6 @@ class and query an instance like declare(strict_types=1); // Register the composer autoloader for packages shipped by this app, if applicable - @include_once __DIR__ . '/../vendor/autoload.php' + include_once __DIR__ . '/../vendor/autoload.php'; $app = \OC::$server->query(\OCA\MyApp\AppInfo\Application::class);