Upgrade to 3.2.5

This commit is contained in:
Bastian Allgeier
2019-09-24 11:00:59 +02:00
parent ff9b5b1861
commit 447a9dd266
234 changed files with 1990 additions and 1224 deletions

View File

@@ -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') {