Fixed static analysis errors

This commit is contained in:
Chris Kankiewicz
2020-04-13 10:57:49 -07:00
parent 4b22ca89e8
commit 58f1515a9d
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ class FileUrl extends Url
return $this->escape($path);
}
if ($path === null || $path === '') {
if ($path === '') {
return '';
}

View File

@@ -18,7 +18,7 @@ class ZipUrl extends Url
{
$path = $this->stripLeadingSlashes($path);
if ($path === null || $path === '') {
if ($path === '') {
return '?zip=.';
}