From 6f199ab7b32022862af2f37c0ce35a2c0361f7c8 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 29 Dec 2019 22:47:32 -0500 Subject: [PATCH] Add missing return statement in Core\L10n - Addresses https://github.com/friendica/friendica/issues/7998#issuecomment-569560492 --- src/Core/L10n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/L10n.php b/src/Core/L10n.php index d1a6204ef3..82f02b83d5 100644 --- a/src/Core/L10n.php +++ b/src/Core/L10n.php @@ -32,7 +32,7 @@ class L10n */ public static function withLang(string $lang) { - DI::l10n()->withLang($lang); + return DI::l10n()->withLang($lang); } /**