Passed
Push — master ( 3415df...79c576 )
by Alain
02:57
created
src/AbstractConfig.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         parent::__construct($config, ArrayObject::ARRAY_AS_PROPS);
54 54
 
55 55
         if (null !== $delimiter) {
56
-            $this->delimiter = (array)$delimiter;
56
+            $this->delimiter = (array) $delimiter;
57 57
         }
58 58
     }
59 59
 
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
             $array = $this->getArrayCopy();
104 104
             while (count($keys) > 0) {
105 105
                 $key = array_pop($keys);
106
-                if (! array_key_exists($key, $array)) {
106
+                if ( ! array_key_exists($key, $array)) {
107 107
                     return false;
108 108
                 }
109 109
                 $array = $array[$key];
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      */
136 136
     public function getKeys()
137 137
     {
138
-        return array_keys((array)$this);
138
+        return array_keys((array) $this);
139 139
     }
140 140
 
141 141
     /**
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 
175 175
         Assert\that($keys)->all()->string()->notEmpty();
176 176
 
177
-        if (! $this->hasKey($keys)) {
177
+        if ( ! $this->hasKey($keys)) {
178 178
             throw new OutOfRangeException(
179 179
                 sprintf(
180 180
                     _('The configuration key %1$s does not exist.'),
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
         // Replace all of the configured delimiters by the first one, so that we can then use explode().
240 240
         $normalizedString = str_replace($this->delimiter, $this->delimiter[0], $keyString);
241 241
 
242
-        return (array)explode($this->delimiter[0], $normalizedString);
242
+        return (array) explode($this->delimiter[0], $normalizedString);
243 243
     }
244 244
 
245 245
     /**
Please login to merge, or discard this patch.