It seems like $this->minimum can also be of type string; however, parameter $val of is_nan() does only seem to accept double, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
68
if (is_nan( /** @scrutinizer ignore-type */ $this->minimum ))
Loading history...
69
return false;
70
71
if (is_infinite( $this->minimum ) && $this->minimum > 0)
It seems like $this->minimum can also be of type string; however, parameter $val of is_infinite() does only seem to accept double, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.