Skip to content

Commit 01aac3d

Browse files
Update src/Database/Database.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
1 parent af73122 commit 01aac3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ private function validateAttribute(
18561856
throw new DatabaseException('Size must be empty for spatial attributes');
18571857
}
18581858
if (!empty($array)) {
1859-
throw new DatabaseException('Array must be empty');
1859+
throw new DatabaseException('Spatial attributes cannot be arrays');
18601860
}
18611861
break;
18621862
default:

0 commit comments

Comments
 (0)