This repository was archived by the owner on Jun 8, 2022. It is now read-only.
Commit 4ac87ce 1 parent 677d406 commit 4ac87ce Copy full SHA for 4ac87ce
File tree 3 files changed +3
-13
lines changed
3 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 4
4
5
5
use App \Container \ContainerCreator ;
6
6
use App \Database \Database ;
7
- use App \Middleware \ExampleMiddleware ;
8
- use App \Handlers \HttpErrorHandler ;
9
- use App \Handlers \ShutdownHandler ;
10
7
use App \Dependencies \Logger ;
11
8
use Psr \Http \Message \ResponseInterface ;
12
9
use Psr \Http \Message \ServerRequestInterface ;
13
10
use Slim \App as SlimApp ;
14
11
use DI \Bridge \Slim \Bridge as AppFactory ;
15
- use Slim \Factory \ServerRequestCreatorFactory ;
16
12
17
13
class App
18
14
{
@@ -31,11 +27,6 @@ class App
31
27
*/
32
28
protected $ slim ;
33
29
34
- /**
35
- * @var HttpErrorHandler
36
- */
37
- protected $ error_handler ;
38
-
39
30
/**
40
31
* @var Logger
41
32
*/
Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ protected function services(): array
35
35
protected function addServices (): void
36
36
{
37
37
foreach ($ this ->services () as $ service_class ) {
38
- /**
39
- * @var Service
40
- */
41
38
$ service = new $ service_class ($ this ->container (), $ this ->app );
42
39
43
40
if ($ service instanceof Service) {
Original file line number Diff line number Diff line change 8
8
9
9
class Logger implements LoggerInterface
10
10
{
11
- protected $ level ;
11
+ /**
12
+ * @var MonologLogger
13
+ */
12
14
protected $ logger ;
13
15
14
16
public function __construct (string $ log_path = null )
You can’t perform that action at this time.
0 commit comments