Skip to content

Commit 97ac770

Browse files
authored
Merge pull request #23 from emenkens/add-php81-support
Add php 8.1 support
2 parents 1ddb69d + 8b671b7 commit 97ac770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/CrEOF/Geo/WKB/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ private function readGeometry()
154154
}
155155

156156
$this->dimensions = $this->getDimensions($this->type);
157-
$this->pointSize = 2 + strlen($this->getDimensionType($this->dimensions));
157+
$this->pointSize = 2 + strlen($this->getDimensionType($this->dimensions) || '');
158158

159159
$typeName = $this->getTypeName($this->type);
160160

0 commit comments

Comments
 (0)