From 844c215eb4061a3ef4d9beaedf04b623ddddb08b Mon Sep 17 00:00:00 2001 From: Jan Sorgalla Date: Mon, 11 Jul 2016 14:26:49 +0200 Subject: [PATCH] Fix exception message --- src/Polygon.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Polygon.php b/src/Polygon.php index b649b16..46ab1e3 100644 --- a/src/Polygon.php +++ b/src/Polygon.php @@ -128,12 +128,12 @@ public function offsetGet($offset) public function offsetUnset($offset) { - throw new \BadMethodCallException('Polyline is immutable.'); + throw new \BadMethodCallException('Polygon is immutable.'); } public function offsetSet($offset, $value) { - throw new \BadMethodCallException('Polyline is immutable.'); + throw new \BadMethodCallException('Polygon is immutable.'); } public function getIterator()