The expression array_search($zone, $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
* @return Exposures
28
*/
29
public function getExposures() : ExposuresInterface
30
{
31
9
return new Exposures( array_map( function( $zone ) {