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

Commit 4ac87ce

Browse files
committed
Clean up from recent changes
1 parent 677d406 commit 4ac87ce

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

src/App.php

-9
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,11 @@
44

55
use App\Container\ContainerCreator;
66
use App\Database\Database;
7-
use App\Middleware\ExampleMiddleware;
8-
use App\Handlers\HttpErrorHandler;
9-
use App\Handlers\ShutdownHandler;
107
use App\Dependencies\Logger;
118
use Psr\Http\Message\ResponseInterface;
129
use Psr\Http\Message\ServerRequestInterface;
1310
use Slim\App as SlimApp;
1411
use DI\Bridge\Slim\Bridge as AppFactory;
15-
use Slim\Factory\ServerRequestCreatorFactory;
1612

1713
class App
1814
{
@@ -31,11 +27,6 @@ class App
3127
*/
3228
protected $slim;
3329

34-
/**
35-
* @var HttpErrorHandler
36-
*/
37-
protected $error_handler;
38-
3930
/**
4031
* @var Logger
4132
*/

src/Container/ContainerCreator.php

-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ protected function services(): array
3535
protected function addServices(): void
3636
{
3737
foreach ($this->services() as $service_class) {
38-
/**
39-
* @var Service
40-
*/
4138
$service = new $service_class($this->container(), $this->app);
4239

4340
if ($service instanceof Service) {

src/Dependencies/Logger.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88

99
class Logger implements LoggerInterface
1010
{
11-
protected $level;
11+
/**
12+
* @var MonologLogger
13+
*/
1214
protected $logger;
1315

1416
public function __construct(string $log_path = null)

0 commit comments

Comments
 (0)