fix
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Bx\Null\Providers;
|
||||
namespace Bx\Nullable\Providers;
|
||||
|
||||
|
||||
use Bx\Null\AbstractFactory\MainAbstractFactory;
|
||||
use Bx\Nullable\AbstractFactory\MainAbstractFactory;
|
||||
use Wt\Core\Interfaces\IApp;
|
||||
use Wt\Core\Interfaces\IServiceProvider;
|
||||
|
||||
@@ -16,7 +16,7 @@ class DefaultFactoryProvider implements IServiceProvider
|
||||
$serviceContainer = $app->container();
|
||||
|
||||
/**
|
||||
* @var $mainAbstractFactory MainAbstractFactory
|
||||
* @var MainAbstractFactory $mainAbstractFactory
|
||||
*/
|
||||
$mainAbstractFactory = $serviceContainer->make(MainAbstractFactory::class, [$config->get('MainAbstractFactory', [])]);
|
||||
$serviceContainer->singleton($app->module()->getId().':mainAbstractFactory', $mainAbstractFactory);
|
||||
|
||||
Reference in New Issue
Block a user