mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +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
|
||||
* @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.
|
||||
$dir = rtrim($dir, '/');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue