Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
35 | 2 | public function initialize(Collection $parameters): DriverContract |
|
36 | { |
||
37 | 2 | foreach ($this->getDefaultParameters() as $key => $value) { |
|
38 | 2 | $value = $parameters->get($key, $value); |
|
39 | |||
40 | 2 | $parameters->put($key, $value); |
|
41 | } |
||
42 | |||
43 | 2 | $this->parameters = collect($parameters); |
|
44 | |||
45 | 2 | return $this; |
|
46 | } |
||
47 | |||
68 |