Passed
Push — develop ( 08ee0f...f2aabe )
by nguereza
01:54
created
src/Config/AbstractConfiguration.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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',
Please login to merge, or discard this patch.