The expression array_search($fstop, $this->getArrayCopy()); of type false|integer|string adds the type string to the return on line 21 which is incompatible with the return type declared by the interface FilmTools\Commons\SearchableInterface::search of type integer|false.
Loading history...
22
}
23
24
25
/**
26
* @inheritDoc
27
*/
28
24
public function getZones() : ZonesInterface
29
{
30
24
$min = $this->min();
31
6
return new Zones( array_map( function( $fstop ) use ($min) {
32
24
return $fstop + $min;
33
24
}, $this->getArrayCopy()));
34
}
35
36
37
/**
38
* @inheritDoc
39
* @return ExposuresInterface
40
*/
41
12
public function getExposures() : ExposuresInterface