The expression return $request->getAttr...tor')['namespace'] : '' could return the type string which is incompatible with the type-hinted return array. Consider adding an additional type-check to rule them out.
Loading history...
29
}
30
31
private function requestLang(ServerRequestInterface $request): array
The expression return $request->getAttr...idator')['lang'] : 'en' could return the type string which is incompatible with the type-hinted return array. Consider adding an additional type-check to rule them out.