Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2eb1c72

Browse files
committed
More Oops 😆 😆 😆
1 parent f1ca3e6 commit 2eb1c72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Types/MultiPolygon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected static function assembleParts(array $parts)
9191

9292
public function offsetSet($offset, $value)
9393
{
94-
self::validateItemType($value);
94+
$this->validateItemType($value);
9595

9696
parent::offsetSet($offset, $value);
9797
}

src/Types/PointCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function toPairList()
2323

2424
public function offsetSet($offset, $value)
2525
{
26-
self::validateItemType($value);
26+
$this->validateItemType($value);
2727

2828
parent::offsetSet($offset, $value);
2929
}

0 commit comments

Comments
 (0)