Passed
Push — master ( a14ecc...447031 )
by Alain
03:30 queued 57s
created
src/AbstractConfigSchema.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
             return $this->defined->getArrayCopy();
63 63
         }
64 64
 
65
-        return (array)$this->defined;
65
+        return (array) $this->defined;
66 66
     }
67 67
 
68 68
     /**
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
             return $this->defaults->getArrayCopy();
83 83
         }
84 84
 
85
-        return (array)$this->defaults;
85
+        return (array) $this->defaults;
86 86
     }
87 87
 
88 88
     /**
@@ -102,6 +102,6 @@  discard block
 block discarded – undo
102 102
             return $this->required->getArrayCopy();
103 103
         }
104 104
 
105
-        return (array)$this->required;
105
+        return (array) $this->required;
106 106
     }
107 107
 }
Please login to merge, or discard this patch.
src/Config.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
             if ( ! file_exists($config)) {
119 119
                 throw new RuntimeException(sprintf(
120 120
                     _('Non-existing configuration source: %1$s'),
121
-                    (string)$config
121
+                    (string) $config
122 122
                 ));
123 123
             }
124 124
 
@@ -137,13 +137,13 @@  discard block
 block discarded – undo
137 137
             } catch (Exception $exception) {
138 138
                 throw new RuntimeException(sprintf(
139 139
                     _('Loading from configuration source %1$s failed. Reason: %2$s'),
140
-                    (string)$configString,
141
-                    (string)$exception->getMessage()
140
+                    (string) $configString,
141
+                    (string) $exception->getMessage()
142 142
                 ));
143 143
             }
144 144
         }
145 145
 
146
-        return (array)$config;
146
+        return (array) $config;
147 147
     }
148 148
 
149 149
     /**
Please login to merge, or discard this patch.
src/AbstractConfig.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         parent::__construct($config, ArrayObject::ARRAY_AS_PROPS);
53 53
 
54 54
         if (null !== $delimiter) {
55
-            $this->delimiter = (array)$delimiter;
55
+            $this->delimiter = (array) $delimiter;
56 56
         }
57 57
     }
58 58
 
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     public function getKeys()
138 138
     {
139
-        return array_keys((array)$this);
139
+        return array_keys((array) $this);
140 140
     }
141 141
 
142 142
     /**
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
         // Replace all of the configured delimiters by the first one, so that we can then use explode().
181 181
         $normalizedString = str_replace($this->delimiter, $this->delimiter[0], $keyString);
182 182
 
183
-        return (array)explode($this->delimiter[0], $normalizedString);
183
+        return (array) explode($this->delimiter[0], $normalizedString);
184 184
     }
185 185
 
186 186
     /**
Please login to merge, or discard this patch.