mirror of
https://github.com/Intervention/image.git
synced 2025-08-15 10:23:59 +02:00
Ignore phpstan error unset.possiblyHookedProperty
To be compatible with older PHP versions.
This commit is contained in:
@@ -199,7 +199,7 @@ class Bezier implements IteratorAggregate, Countable, ArrayAccess, DrawableInter
|
|||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset($offset): void
|
||||||
{
|
{
|
||||||
unset($this->points[$offset]);
|
unset($this->points[$offset]); // @phpstan-ignore unset.possiblyHookedProperty
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -171,7 +171,7 @@ class Polygon implements IteratorAggregate, Countable, ArrayAccess, DrawableInte
|
|||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset($offset): void
|
||||||
{
|
{
|
||||||
unset($this->points[$offset]);
|
unset($this->points[$offset]); // @phpstan-ignore unset.possiblyHookedProperty
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user