Completed
Push — master ( 80841c...9fbbf6 )
by Alain
03:11
created
src/AbstractConfig.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         parent::__construct($config, ArrayObject::ARRAY_AS_PROPS);
52 52
 
53 53
         if (null !== $delimiter) {
54
-            $this->delimiter = (array)$delimiter;
54
+            $this->delimiter = (array) $delimiter;
55 55
         }
56 56
     }
57 57
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
             $array = $this->getArrayCopy();
103 103
             while (count($keys) > 0) {
104 104
                 $key = array_pop($keys);
105
-                if (! array_key_exists($key, $array)) {
105
+                if ( ! array_key_exists($key, $array)) {
106 106
                     return false;
107 107
                 }
108 108
                 $array = $array[$key];
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      */
135 135
     public function getKeys()
136 136
     {
137
-        return array_keys((array)$this);
137
+        return array_keys((array) $this);
138 138
     }
139 139
 
140 140
     /**
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     {
172 172
         $keys = $this->getKeyArguments(func_get_args());
173 173
 
174
-        if (! $this->hasKey($keys)) {
174
+        if ( ! $this->hasKey($keys)) {
175 175
             throw new KeyNotFoundException(
176 176
                 sprintf(
177 177
                     _('The configuration key %1$s does not exist.'),
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
         // Replace all of the configured delimiters by the first one, so that we can then use explode().
234 234
         $normalizedString = str_replace($this->delimiter, $this->delimiter[0], $keyString);
235 235
 
236
-        return (array)explode($this->delimiter[0], $normalizedString);
236
+        return (array) explode($this->delimiter[0], $normalizedString);
237 237
     }
238 238
 
239 239
     /**
Please login to merge, or discard this patch.