mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
Fix type error in Context::loadLang()
This commit is contained in:
parent
b373dc94c0
commit
3294bccda8
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ class Lang
|
||||||
* @param string $plugin_name
|
* @param string $plugin_name
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function loadDirectory(string $dir, string $plugin_name = ''): bool
|
public function loadDirectory(string $dir, ?string $plugin_name = null): bool
|
||||||
{
|
{
|
||||||
// Do not load the same directory twice.
|
// Do not load the same directory twice.
|
||||||
$dir = rtrim($dir, '/');
|
$dir = rtrim($dir, '/');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue