Actually return null

Nullable return types require an explicit null return value; not
returning or returning without value is the "void" type.
This commit is contained in:
Franz Liedke 2019-11-21 00:46:01 +01:00
parent c357907c73
commit b83edc54fc

View File

@ -301,6 +301,8 @@ class Extension implements Arrayable
if (file_exists($deprecatedFilename)) {
return $deprecatedFilename;
}
return null;
}
/**