Skip to content

Commit 844c215

Browse files
committed
Fix exception message
1 parent 931be95 commit 844c215

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Polygon.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ public function offsetGet($offset)
128128

129129
public function offsetUnset($offset)
130130
{
131-
throw new \BadMethodCallException('Polyline is immutable.');
131+
throw new \BadMethodCallException('Polygon is immutable.');
132132
}
133133

134134
public function offsetSet($offset, $value)
135135
{
136-
throw new \BadMethodCallException('Polyline is immutable.');
136+
throw new \BadMethodCallException('Polygon is immutable.');
137137
}
138138

139139
public function getIterator()

0 commit comments

Comments
 (0)