CS: PSR1/2

parent 188083be
...@@ -106,7 +106,7 @@ abstract class RoutingServiceProvider extends ServiceProvider ...@@ -106,7 +106,7 @@ abstract class RoutingServiceProvider extends ServiceProvider
if ($api && file_exists($api)) { if ($api && file_exists($api)) {
$router->group([ $router->group([
'namespace' => 'Api', 'namespace' => 'Api',
'prefix' => LaravelLocalization::setLocale() . '/api', 'prefix' => LaravelLocalization::setLocale() . '/api',
'middleware' => config('asgard.core.core.middleware.api', []), 'middleware' => config('asgard.core.core.middleware.api', []),
], function (Router $router) use ($api) { ], function (Router $router) use ($api) {
require $api; require $api;
......
...@@ -5,13 +5,13 @@ return [ ...@@ -5,13 +5,13 @@ return [
'description' => 'dashboard::dashboard.welcome-title', 'description' => 'dashboard::dashboard.welcome-title',
'view' => 'text', 'view' => 'text',
'translatable' => true, 'translatable' => true,
'default' => 'Welcome on your backend!' 'default' => 'Welcome on your backend!',
], ],
'welcome-description' => [ 'welcome-description' => [
'description' => 'dashboard::dashboard.welcome-description', 'description' => 'dashboard::dashboard.welcome-description',
'view' => 'textarea', 'view' => 'textarea',
'translatable' => true, 'translatable' => true,
'default' => 'Did you know you can access the documentation by pressing F1?' 'default' => 'Did you know you can access the documentation by pressing F1?',
], ],
'welcome-enabled' => [ 'welcome-enabled' => [
'description' => 'dashboard::dashboard.welcome-enabled', 'description' => 'dashboard::dashboard.welcome-enabled',
......
<?php <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class MakeTitleFieldNullableMenuTable extends Migration class MakeTitleFieldNullableMenuTable extends Migration
{ {
......
<?php <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class MakeSettingValueNullable extends Migration class MakeSettingValueNullable extends Migration
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment