mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-06-04 01:54:07 +02:00
add some type hinting
This commit is contained in:
parent
76953efe15
commit
5ba2a3cc31
3 changed files with 7 additions and 7 deletions
|
|
@ -37,7 +37,7 @@ class PathHelper {
|
|||
$this->server = $server;
|
||||
}
|
||||
|
||||
public function getPathFromUri($uri) {
|
||||
public function getPathFromUri($uri): ?string {
|
||||
if (strpos($uri, '://') === false) {
|
||||
return $uri;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue