Apply fixes from StyleCI

This commit is contained in:
HDVinnie
2018-12-06 22:57:41 +00:00
committed by StyleCI Bot
parent 674e662a83
commit 2f2c52328b
300 changed files with 18930 additions and 15001 deletions
+2 -2
View File
@@ -13,9 +13,9 @@
namespace App\Http\Middleware;
use Closure;
use App\Language;
use Carbon\Carbon;
use Closure;
use Illuminate\Support\Facades\App;
class SetLanguage
@@ -28,7 +28,7 @@ class SetLanguage
private function setLocale($locale)
{
// Check if is allowed and set default locale if not
if (!Language::allowed($locale)) {
if (! Language::allowed($locale)) {
$locale = config('app.locale');
}