We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26a8428 commit 584943eCopy full SHA for 584943e
lib/CrEOF/Spatial/PHP/Types/AbstractLineString.php
@@ -44,10 +44,6 @@ public function getType()
44
*/
45
public function isClosed()
46
{
47
- if ($this->points[0] === $this->points[count($this->points) - 1]) {
48
- return true;
49
- }
50
-
51
- return false;
+ return $this->points[0] === $this->points[count($this->points) - 1];
52
}
53
0 commit comments