The expression array_search($logH, $this->getArrayCopy()); of type false|integer|string adds the type string to the return on line 22 which is incompatible with the return type declared by the interface FilmTools\Commons\SearchableInterface::search of type integer|false.
Loading history...
23
}
24
25
26
/**
27
* @inheritDoc
28
*
29
* The range step width used here is a third of `log10(2) = 0.301...`.
30
* The numbers will most likely cleanly round to multiples of 0.1 though.
31
*/
32
public function getRange( float $step = null) : \SplFixedArray