Skip to content

Commit

Permalink
Fix exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
jsor committed Jul 11, 2016
1 parent 931be95 commit 844c215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Polygon.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 844c215

Please sign in to comment.