diff --git a/src/Geometry/Geometry.php b/src/Geometry/Geometry.php index 06d843bc..419699a3 100644 --- a/src/Geometry/Geometry.php +++ b/src/Geometry/Geometry.php @@ -284,7 +284,7 @@ public function setSRID($srid) if ($this->getGeos()) { // @codeCoverageIgnoreStart /** @noinspection PhpUndefinedMethodInspection */ - $this->getGeos()->setSRID($srid); + $this->getGeos()->setSRID((int) $srid); // @codeCoverageIgnoreEnd } $this->srid = $srid;