We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e556fb commit 5349253Copy full SHA for 5349253
plugins/system/schemaorg/services/provider.php
@@ -43,7 +43,7 @@ function (Container $container) {
43
);
44
45
$plugin->setApplication(Factory::getApplication());
46
- $plugin->setDatabase(Factory::getContainer()->get(DatabaseInterface::class));
+ $plugin->setDatabase($container->get(DatabaseInterface::class));
47
$plugin->setUserFactory($container->get(UserFactoryInterface::class));
48
49
return $plugin;
0 commit comments