Skip to content

Commit

Permalink
Change access modifiers of language caches to public for better visib…
Browse files Browse the repository at this point in the history
…ility.

Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Dec 4, 2024
1 parent 39be8c9 commit 0d40bd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/System/Models/Language.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ class Language extends \Igniter\Flame\Translation\Models\Language
];

/** Object cache of self, by code. */
protected static array $localesCache = [];
public static array $localesCache = [];

/** A cache of supported locales. */
protected static ?array $supportedLocalesCache = null;
public static ?array $supportedLocalesCache = null;

/** Active language cache. */
protected static ?self $activeLanguage = null;
public static ?self $activeLanguage = null;

public static function applySupportedLanguages()
{
Expand Down

0 comments on commit 0d40bd6

Please sign in to comment.