Skip to content

Commit af73122

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

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
@@ -1853,7 +1853,7 @@ private function validateAttribute(
18531853
throw new DatabaseException('Spatial attributes are not supported');
18541854
}
18551855
if (!empty($size)) {
1856-
throw new DatabaseException('Size must be empty');
1856+
throw new DatabaseException('Size must be empty for spatial attributes');
18571857
}
18581858
if (!empty($array)) {
18591859
throw new DatabaseException('Array must be empty');

0 commit comments

Comments
 (0)