Skip to content

Commit 9194b28

Browse files
committed
Initialize records as array
Signed-off-by: Michal Čihař <[email protected]>
1 parent 3aceccf commit 9194b28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ShapeFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class ShapeFile
4343
private $fileLength = 0;
4444
public $shapeType = 0;
4545

46-
public $records;
46+
public $records = array();
4747

4848
/**
4949
* Checks whether dbase manipuations are supported.

0 commit comments

Comments
 (0)