1
0
Fork 0
mirror of https://github.com/archtechx/gloss.git synced 2025-12-14 20:04:03 +00:00

Fix static analysis issue with string|array

This commit is contained in:
Samuel Štancl 2020-12-13 21:04:00 +01:00
parent d423a0bda7
commit 0ea1334dce
3 changed files with 21 additions and 5 deletions

View file

@ -15,6 +15,8 @@ use Illuminate\Support\Facades\Facade;
* @method static ?string get($key, $replace = [], $locale = null) Get a translation string.
* @method static ?string choice($key, $replace = [], $locale = null) Get a translation according to an integer value.
* @method static void extend(string $shortKey, callable(string, callable): string $value) Extend a translation string.
*
* @see \Lean\Gloss\GlossTranslator
*/
class Gloss extends Facade
{