Upgrade to 3.2.5
This commit is contained in:
@@ -35,7 +35,7 @@ class Translations extends Collection
|
||||
*/
|
||||
public static function factory(array $translations)
|
||||
{
|
||||
$collection = new static;
|
||||
$collection = new static();
|
||||
|
||||
foreach ($translations as $code => $props) {
|
||||
$translation = new Translation($code, $props);
|
||||
@@ -52,7 +52,7 @@ class Translations extends Collection
|
||||
*/
|
||||
public static function load(string $root, array $inject = [])
|
||||
{
|
||||
$collection = new static;
|
||||
$collection = new static();
|
||||
|
||||
foreach (Dir::read($root) as $filename) {
|
||||
if (F::extension($filename) !== 'json') {
|
||||
|
Reference in New Issue
Block a user