mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02: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:
committed by
Daniël Klabbers
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user