Passed
Push — master ( 0fd618...5e6b25 )
by Swen
03:08
created
src/Geometry/Curve.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -121,10 +121,8 @@
 block discarded – undo
121 121
     public function boundary(): Geometry
122 122
     {
123 123
         return $this->isEmpty() ?
124
-            new LineString() :
125
-            ($this->isClosed() ?
126
-                new MultiPoint() :
127
-                new MultiPoint([$this->startPoint() ?? new Point(), $this->endPoint() ?? new Point()])
124
+            new LineString() : ($this->isClosed() ?
125
+                new MultiPoint() : new MultiPoint([$this->startPoint() ?? new Point(), $this->endPoint() ?? new Point()])
128 126
             );
129 127
     }
130 128
 
Please login to merge, or discard this patch.