The expression return $this->all could return the type null which is incompatible with the type-hinted return array. Consider adding an additional type-check to rule them out.
Loading history...
65
}
66
67
/**
68
* @inheritDoc
69
*/
70
public function findByRegion(string $region): ?RegionBranch