diff --git a/src/Geometry/Bezier.php b/src/Geometry/Bezier.php index 1dabfde0..d443f618 100644 --- a/src/Geometry/Bezier.php +++ b/src/Geometry/Bezier.php @@ -199,7 +199,7 @@ class Bezier implements IteratorAggregate, Countable, ArrayAccess, DrawableInter */ public function offsetUnset($offset): void { - unset($this->points[$offset]); + unset($this->points[$offset]); // @phpstan-ignore unset.possiblyHookedProperty } /** diff --git a/src/Geometry/Polygon.php b/src/Geometry/Polygon.php index 55e3a412..557cab81 100644 --- a/src/Geometry/Polygon.php +++ b/src/Geometry/Polygon.php @@ -171,7 +171,7 @@ class Polygon implements IteratorAggregate, Countable, ArrayAccess, DrawableInte */ public function offsetUnset($offset): void { - unset($this->points[$offset]); + unset($this->points[$offset]); // @phpstan-ignore unset.possiblyHookedProperty } /**