It seems like $startTime can also be of type string; however, parameter $startTime of Yiisoft\Yii\Debug\Collec...entCollector::collect() 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
It seems like $endTime can also be of type string; however, parameter $endTime of Yiisoft\Yii\Debug\Collec...tor::collectTotalTime() 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