@@ -100,6 +100,9 @@ |
||
100 | 100 | } |
101 | 101 | |
102 | 102 | |
103 | + /** |
|
104 | + * @param string $key |
|
105 | + */ |
|
103 | 106 | private function validatePolicy(array &$config, $key, array $choices): void |
104 | 107 | { |
105 | 108 | if (!in_array($config[$key], $choices, true)) { |
@@ -22,6 +22,9 @@ |
||
22 | 22 | private $data = []; |
23 | 23 | |
24 | 24 | |
25 | + /** |
|
26 | + * @param null|string $path |
|
27 | + */ |
|
25 | 28 | public function __construct(Config $config, ?string $path, array $data = null) |
26 | 29 | { |
27 | 30 | $this->config = $config; |