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 committed by Daniël Klabbers
parent 3526083320
commit 9d2595d531

View File

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