anonymous()
last analyzed

Size

Total Lines 5
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 5
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...
Unused Code introduced by
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