mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 03:40:10 +00:00
Upgraded package php-di/php-di
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace Grocy\Middleware;
|
||||
|
||||
use Grocy\Services\ApplicationService;
|
||||
use DI\Container;
|
||||
|
||||
class BaseMiddleware
|
||||
{
|
||||
@@ -10,7 +11,7 @@ class BaseMiddleware
|
||||
|
||||
protected $ApplicationService;
|
||||
|
||||
public function __construct(\DI\Container $container)
|
||||
public function __construct(Container $container)
|
||||
{
|
||||
$this->AppContainer = $container;
|
||||
$this->ApplicationService = ApplicationService::getInstance();
|
||||
|
Reference in New Issue
Block a user