Skip to content

Commit d2e3336

Browse files
Stefan WeilUBMA Sysadmins
authored andcommitted
Fix runtime exceptions
1 parent 3463fdf commit d2e3336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/VuFind/src/VuFind/I18n/Locale/LocaleDetectorFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function (EventInterface $event) use ($cookies) {
107107
*
108108
* @return \Generator
109109
*/
110-
protected function getStrategies(LocaleSettings $settings = null): \Generator
110+
protected function getStrategies(?LocaleSettings $settings = null): \Generator
111111
{
112112
yield new LocaleDetectorParamStrategy();
113113

0 commit comments

Comments
 (0)