Skip to content
This repository was archived by the owner on Jun 8, 2022. It is now read-only.

Commit 345bf8b

Browse files
committed
Clean up
1 parent 502b00a commit 345bf8b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/App.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use App\Container\Container;
66
use App\Container\ContainerCreator;
7-
use App\Container\CSRFService;
87
use App\Database\Database;
98
use App\Middleware\ExampleMiddleware;
109
use App\Handlers\HttpErrorHandler;
@@ -13,8 +12,6 @@
1312
use Psr\Http\Message\ServerRequestInterface;
1413
use Slim\App as SlimApp;
1514
use \DI\Bridge\Slim\Bridge as AppFactory;
16-
use Slim\Csrf\Guard;
17-
// use Slim\Factory\AppFactory as AppFactory;
1815
use Slim\Factory\ServerRequestCreatorFactory;
1916

2017
class App
@@ -52,7 +49,7 @@ public function __construct()
5249
$this->dev_mode = $this->isDevelopmentMode();
5350

5451
$this->container_creator = new ContainerCreator($this);
55-
$this->slim = AppFactory::create($this->container());
52+
$this->slim = AppFactory::create($this->container());
5653

5754
$this->container_creator->setup();
5855
$this->setupSlim();

0 commit comments

Comments
 (0)