Skip to content

Commit a7cd9b3

Browse files
committed
Fix failing tests
1 parent aeab900 commit a7cd9b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Services/OpenStreetMap/Object.php

+3
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,9 @@ public function getVersion():?int
341341
public function getAttributes()
342342
{
343343

344+
if ($this->obj === null) {
345+
return null;
346+
}
344347
if ($this->obj[0] === null) {
345348
return null;
346349
}

0 commit comments

Comments
 (0)