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 c712d23e9c
commit 879b801600
No known key found for this signature in database
GPG Key ID: 9A0231A879B055F4

View File

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