Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
32 | 2 | final public function get(array $appConfig): array |
|
33 | { |
||
34 | 2 | $defaults = $this->getSettings(); |
|
35 | |||
36 | 2 | $publicValue = $defaults[static::KEY_PUBLIC_PATH_OR_KEY_VALUE]; |
|
37 | 2 | assert(empty($publicValue) === false, "Public key/value cannot be empty."); |
|
38 | |||
39 | 2 | $privateValue = $defaults[static::KEY_PUBLIC_PATH_OR_KEY_VALUE]; |
|
40 | 2 | assert(empty($privateValue) === false, "Private key/value cannot be empty."); |
|
41 | |||
42 | 2 | return $defaults; |
|
43 | } |
||
44 | |||
53 |