Skip to content

Commit 861d3b4

Browse files
committed
Remove shpFile check in ShapeFile::loadRecords()
#24 (comment) Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent 4518f1d commit 861d3b4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ShapeFile.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -454,10 +454,6 @@ private function saveHeaders(): void
454454
*/
455455
private function loadRecords(): bool
456456
{
457-
if ($this->shpFile === false) {
458-
return false;
459-
}
460-
461457
/* Need to start at offset 100 */
462458
while (! $this->eofSHP()) {
463459
$record = new ShapeRecord(-1);

0 commit comments

Comments
 (0)