mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 00:03:37 +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
3526083320
commit
9d2595d531
|
@ -299,6 +299,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