PHPStan lvl 4 & Fix/issue 233 followup #129
Annotations
4 errors
phpstan (8.3, stable):
src/Eloquent/Relations/Siblings.php#L79
Call to function in_array() with arguments null, array<int, int|string> and true will always evaluate to false.
|
phpstan (8.3, stable):
src/Eloquent/Relations/Traits/IsAncestorRelation.php (in context of class Staudenmeir/LaravelAdjacencyList/Eloquent/Relations/Ancestors)#L64
Call to function is_null() with int|string will always evaluate to false.
|
phpstan (8.3, stable):
src/Eloquent/Relations/Traits/IsAncestorRelation.php (in context of class Staudenmeir/LaravelAdjacencyList/Eloquent/Relations/RootAncestor)#L64
Call to function is_null() with int|string will always evaluate to false.
|
phpstan (8.3, stable)
Process completed with exit code 1.
|