Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
18 | 2 | public function __construct(Kernel $kernel, $baseUrl, $allowClientReboot = true) |
|
19 | { |
||
20 | /** @var Client $client */ |
||
21 | 2 | $client = $kernel->getContainer()->get('test.client'); |
|
22 | |||
23 | 2 | if (false === $allowClientReboot) { |
|
24 | 1 | $client->disableReboot(); |
|
25 | 1 | } |
|
26 | 2 | parent::__construct($client, $baseUrl); |
|
27 | 2 | } |
|
28 | } |
||
29 |