add some type hinting

This commit is contained in:
Robin Appelman 2019-11-06 14:33:04 +01:00
commit 5ba2a3cc31
3 changed files with 7 additions and 7 deletions

View file

@ -37,7 +37,7 @@ class PathHelper {
$this->server = $server;
}
public function getPathFromUri($uri) {
public function getPathFromUri($uri): ?string {
if (strpos($uri, '://') === false) {
return $uri;
}