We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 77.78% |
Changes | 0 |
1 | <?php |
||
7 | final class GlobalVariables |
||
8 | { |
||
9 | /** @var array */ |
||
10 | private $services; |
||
11 | |||
12 | 147 | public function __construct(array $services = []) |
|
15 | 147 | } |
|
16 | |||
17 | /** |
||
18 | * @param string $name |
||
19 | * |
||
20 | * @return mixed |
||
21 | */ |
||
22 | 139 | public function get(string $name) |
|
29 | } |
||
30 | |||
31 | /** |
||
32 | * @param string $name |
||
33 | * |
||
34 | * @return bool |
||
35 | */ |
||
36 | public function has(string $name): bool |
||
41 |