Issues (122)

config/di/game.php (1 issue)

1
<?php
2
/**
3
 * Configuration file for request service.
4
 */
5
return [
6
    // Services to add to the container.
7
    "services" => [
8
        "game" => [
9
            "shared" => true,
10
            "callback" => function () {
11
                $obj = new \Pamo\Game\Game();
12
                $obj->init($this);
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable $this seems to be never defined.
Loading history...
13
                $obj->getDatabases();
14
                return $obj;
15
            }
16
        ],
17
    ],
18
];
19