mirror of
https://github.com/Intervention/image.git
synced 2025-08-13 17:34:04 +02:00
Fix phpstan issues
This commit is contained in:
@@ -2,6 +2,10 @@ parameters:
|
||||
level: 6
|
||||
paths:
|
||||
- src
|
||||
reportUnmatchedIgnoredErrors: false
|
||||
ignoreErrors:
|
||||
-
|
||||
identifier: unset.possiblyHookedProperty
|
||||
exceptions:
|
||||
check:
|
||||
missingCheckedExceptionInThrows: true
|
||||
|
@@ -199,7 +199,7 @@ class Bezier implements IteratorAggregate, Countable, ArrayAccess, DrawableInter
|
||||
*/
|
||||
public function offsetUnset($offset): void
|
||||
{
|
||||
unset($this->points[$offset]); // @phpstan-ignore unset.possiblyHookedProperty
|
||||
unset($this->points[$offset]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -171,7 +171,7 @@ class Polygon implements IteratorAggregate, Countable, ArrayAccess, DrawableInte
|
||||
*/
|
||||
public function offsetUnset($offset): void
|
||||
{
|
||||
unset($this->points[$offset]); // @phpstan-ignore unset.possiblyHookedProperty
|
||||
unset($this->points[$offset]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user