@@ -56,8 +56,7 @@ discard block |
||
56 | 56 | * Class AbstractConfiguration |
57 | 57 | * @package Platine\Stdlib\Config |
58 | 58 | */ |
59 | -abstract class AbstractConfiguration implements ConfigurationInterface |
|
60 | -{ |
|
59 | +abstract class AbstractConfiguration implements ConfigurationInterface { |
|
61 | 60 | |
62 | 61 | /** |
63 | 62 | * The raw configuration array |
@@ -68,8 +67,7 @@ discard block |
||
68 | 67 | /** |
69 | 68 | * {@inheritedoc} |
70 | 69 | */ |
71 | - public function __construct(array $config = []) |
|
72 | - { |
|
70 | + public function __construct(array $config = []) { |
|
73 | 71 | $configuration = array_merge($this->getDefault(), $config); |
74 | 72 | $this->load($configuration); |
75 | 73 | } |
@@ -77,8 +75,7 @@ discard block |
||
77 | 75 | /** |
78 | 76 | * {@inheritedoc} |
79 | 77 | */ |
80 | - public function get(string $name) |
|
81 | - { |
|
78 | + public function get(string $name) { |
|
82 | 79 | if (!$this->has($name)) { |
83 | 80 | throw new InvalidArgumentException(sprintf( |
84 | 81 | 'Configuration [%s] does not exist', |