Issues (11)

config/di/curl.php (2 issues)

1
<?php
2
return [
3
    "services" => [
4
        "curl" => [
5
            "shared" => true,
6
            "callback" => function () {
7
                $getConfig = $this->get("configuration");
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable $this seems to be never defined.
Loading history...
The assignment to $getConfig is dead and can be removed.
Loading history...
8
                $curl = new \Anax\DI\Curl();
9
                $curl->setDi($this);
10
                return $curl;
11
            },
12
        ],
13
    ],
14
];
15