Issues (33)

config/di/weather.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
        "weather" => [
9
            "shared" => true,
10
            "active" => true,
11
            "callback" => function () {
12
                $obj = new \Osln\Weather\Weather();
13
                $obj->setDI($this);
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable $this seems to be never defined.
Loading history...
14
                return $obj;
15
            }
16
        ],
17
    ],
18
];
19