1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-13 17:34:04 +02:00

Ignore phpstan error unset.possiblyHookedProperty

To be compatible with older PHP versions.
This commit is contained in:
Oliver Vogel
2025-03-05 16:57:48 +01:00
parent 00bc65e491
commit cbca8468f1
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}
/**

View File

@@ -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
}
/**