The expression return pathinfo($filenam...rns\PATHINFO_EXTENSION) could return the type array which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
27
}
28
29
protected function filename(string $filename): string
The expression return pathinfo($filenam...erns\PATHINFO_FILENAME) could return the type array which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.