Skip to content

Commit 99a7366

Browse files
committed
Update error message
1 parent 055816d commit 99a7366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Traits/HasPointsAttribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function validatePoints(array $points)
4646
}
4747

4848
if (!$valid) {
49-
throw new Exception('Invalid number of points for shape '.$this->shape->name.'!');
49+
throw new Exception('Invalid (number of) points for shape '.$this->shape->name.'!');
5050
}
5151

5252
if ($this->shape_id === Shape::polygonId()) {

0 commit comments

Comments
 (0)