32
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-11-11 15:51:05 +00:00

Consistent name

This commit is contained in:
Tuan Pham Ngoc 2023-03-16 18:08:26 +07:00
parent e0710f4bed
commit 5f77274fa4

View File

@ -34,12 +34,12 @@ return new class () implements ServiceProviderInterface {
PluginInterface::class, PluginInterface::class,
function (Container $container) { function (Container $container) {
$dispatcher = $container->get(DispatcherInterface::class); $dispatcher = $container->get(DispatcherInterface::class);
$db = $container->get(DatabaseInterface::class); $database = $container->get(DatabaseInterface::class);
return new Weblinks( return new Weblinks(
$dispatcher, $dispatcher,
(array) PluginHelper::getPlugin('system', 'weblinks'), (array) PluginHelper::getPlugin('system', 'weblinks'),
$db $database
); );
} }
); );