@@ -50,8 +50,7 @@ |
||
50 | 50 | * Class Php |
51 | 51 | * @package Platine\Stdlib\Helper |
52 | 52 | */ |
53 | -class Php |
|
54 | -{ |
|
53 | +class Php { |
|
55 | 54 | |
56 | 55 | |
57 | 56 | } |
@@ -54,8 +54,7 @@ discard block |
||
54 | 54 | * Class AbstractConfiguration |
55 | 55 | * @package Platine\Stdlib\Config |
56 | 56 | */ |
57 | -abstract class AbstractConfiguration implements ConfigurationInterface |
|
58 | -{ |
|
57 | +abstract class AbstractConfiguration implements ConfigurationInterface { |
|
59 | 58 | |
60 | 59 | /** |
61 | 60 | * The raw configuration array |
@@ -66,16 +65,14 @@ discard block |
||
66 | 65 | /** |
67 | 66 | * {@inheritedoc} |
68 | 67 | */ |
69 | - public function __construct(array $config = []) |
|
70 | - { |
|
68 | + public function __construct(array $config = []) { |
|
71 | 69 | $this->load($config); |
72 | 70 | } |
73 | 71 | |
74 | 72 | /** |
75 | 73 | * {@inheritedoc} |
76 | 74 | */ |
77 | - public function get(string $name) |
|
78 | - { |
|
75 | + public function get(string $name) { |
|
79 | 76 | if (!array_key_exists($name, $this->config)) { |
80 | 77 | throw new InvalidArgumentException(sprintf( |
81 | 78 | 'Invalid configuration [%s]', |