code style fix

This commit is contained in:
Peter Papp
2021-04-25 09:02:00 +02:00
parent e103e61617
commit c47886fb8b
157 changed files with 2250 additions and 2583 deletions
+5 -5
View File
@@ -1,12 +1,11 @@
<?php
namespace App\Models;
use App\Services\LanguageService;
use Illuminate\Support\Str;
use App\Services\LanguageService;
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Eloquent\Model;
use Kyslik\ColumnSortable\Sortable;
use Illuminate\Database\Eloquent\Model;
/**
* @method static whereLocale(string $param)
@@ -20,7 +19,7 @@ class Language extends Model
];
protected $guarded = [
'id'
'id',
];
protected $keyType = 'string';
@@ -43,7 +42,8 @@ class Language extends Model
resolve(LanguageService::class)
->create_default_language_translations(
get_setting('license') ?? 'extended', $language->locale
get_setting('license') ?? 'extended',
$language->locale
);
});