mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 11:51:45 +08:00
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:
parent
c357907c73
commit
b83edc54fc
|
@ -301,6 +301,8 @@ class Extension implements Arrayable
|
||||||
if (file_exists($deprecatedFilename)) {
|
if (file_exists($deprecatedFilename)) {
|
||||||
return $deprecatedFilename;
|
return $deprecatedFilename;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user