The expression return pathinfo($filenam...port\PATHINFO_BASENAME) 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...
12
}
13
24
14
public function filename(string $filename): string
The expression return pathinfo($filenam...port\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.
Loading history...
17
24
}
18
24
19
public function extension(string $filename): string
The expression return pathinfo($filenam...ort\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.