array(FALSE) of type array<integer,false> is incompatible with the type boolean expected by parameter $strict of array_search().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation