Skip to content

Commit

Permalink
Remove shpFile check in ShapeFile::loadRecords()
Browse files Browse the repository at this point in the history
#24 (comment)

Signed-off-by: Maurício Meneghini Fauth <[email protected]>
  • Loading branch information
MauricioFauth committed Sep 13, 2023
1 parent 4518f1d commit 861d3b4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ShapeFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 861d3b4

Please sign in to comment.