@@ -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,16 +67,14 @@ discard block |
||
| 68 | 67 | /** |
| 69 | 68 | * {@inheritedoc} |
| 70 | 69 | */ |
| 71 | - public function __construct(array $config = []) |
|
| 72 | - { |
|
| 70 | + public function __construct(array $config = []) { |
|
| 73 | 71 | $this->load($config); |
| 74 | 72 | } |
| 75 | 73 | |
| 76 | 74 | /** |
| 77 | 75 | * {@inheritedoc} |
| 78 | 76 | */ |
| 79 | - public function get(string $name) |
|
| 80 | - { |
|
| 77 | + public function get(string $name) { |
|
| 81 | 78 | if (!$this->has($name)) { |
| 82 | 79 | throw new InvalidArgumentException(sprintf( |
| 83 | 80 | 'Configuration [%s] does not exist', |