diff --git a/src/ShapeFile.php b/src/ShapeFile.php index dbb7761..af0aace 100644 --- a/src/ShapeFile.php +++ b/src/ShapeFile.php @@ -454,10 +454,6 @@ private function saveHeaders(): void */ private function loadRecords(): bool { - if ($this->shpFile === false) { - return false; - } - /* Need to start at offset 100 */ while (! $this->eofSHP()) { $record = new ShapeRecord(-1);