Completed
Push — feature/removeDebugCode ( 9cad1b )
by Jimmy
02:46
created
src/Support/GeometryProxy.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -110,8 +110,8 @@  discard block
 block discarded – undo
110 110
         }
111 111
 
112 112
         // Shortcut to the getters
113
-        if (method_exists($this, 'get' . studly_case($name))) {
114
-            return $this->{'get' . studly_case($name)}();
113
+        if (method_exists($this, 'get'.studly_case($name))) {
114
+            return $this->{'get'.studly_case($name)}();
115 115
         }
116 116
 
117 117
         throw new RuntimeException(sprintf("Undefined property: %s", $name));
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
             return $area;
221 221
         }
222 222
 
223
-        for ($i = 0; $i < $length; $i ++) {
223
+        for ($i = 0; $i < $length; $i++) {
224 224
             list($lower_index, $middle_index, $upper_index) = $this->determineCoordinateIndices($i, $length);
225 225
 
226 226
             $point1 = $coordinates[$lower_index];
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     public function toArray()
244 244
     {
245 245
         if (is_null($this->geometry_array)) {
246
-            $this->geometry_array = (array)json_decode($this->toJson(), true);
246
+            $this->geometry_array = (array) json_decode($this->toJson(), true);
247 247
         }
248 248
 
249 249
         return $this->geometry_array;
Please login to merge, or discard this patch.