Db::getConfig has no second arg

Currently returns null via Arr::get(arr, key, default=null)
This commit is contained in:
Samuel Georges 2019-12-29 11:46:01 +11:00
parent 160ae441ff
commit e19f8b287d
1 changed files with 1 additions and 1 deletions

View File

@ -573,7 +573,7 @@ class ServiceProvider extends ModuleServiceProvider
return;
}
$defaultStrLen = Db::getConfig('varcharmax', null);
$defaultStrLen = Db::getConfig('varcharmax');
if ($defaultStrLen === null && Db::getConfig('charset') === 'utf8mb4') {
$defaultStrLen = 191;