@@ -5,7 +5,7 @@ |
||
| 5 | 5 | use Illuminate\Database\Eloquent\Scope; |
| 6 | 6 | use Illuminate\Database\Eloquent\Model; |
| 7 | 7 | |
| 8 | -class StatusScope implements Scope{ |
|
| 8 | +class StatusScope implements Scope { |
|
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * All of the extensions to be added to the builder. |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | $iso = app()->getLocale(); |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | - $builder->whereExists(function ($query) use ($model, $iso) { |
|
| 34 | + $builder->whereExists(function($query) use ($model, $iso) { |
|
| 35 | 35 | $query->select(\DB::raw(1)) |
| 36 | 36 | ->from($model->getQualifiedTable()) |
| 37 | 37 | ->whereRaw($model->getTable() . '.' . $model->getKeyName() . ' = ' . $model->getQualifiedIdElementColumn()) |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | */ |
| 67 | 67 | protected function addWithoutTranslation(Builder $builder) |
| 68 | 68 | { |
| 69 | - $builder->macro('withoutTranslation', function (Builder $builder) { |
|
| 69 | + $builder->macro('withoutTranslation', function(Builder $builder) { |
|
| 70 | 70 | return $builder->withoutGlobalScope($this); |
| 71 | 71 | }); |
| 72 | 72 | } |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | $this->layoutManager->initStaticPart(function($layoutManager) |
| 50 | 50 | { |
| 51 | 51 | |
| 52 | - $menu_top = $layoutManager->getView()->make('expendable::admin.menu.top',[ |
|
| 52 | + $menu_top = $layoutManager->getView()->make('expendable::admin.menu.top', [ |
|
| 53 | 53 | 'languages'=>Language::all() |
| 54 | 54 | ]); |
| 55 | 55 | $menu_left = $layoutManager->getView()->make('expendable::admin.menu.left'); |