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