Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Sep 5, 2024
1 parent ea09e6e commit b550589
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
use Illuminate\Support\Facades\Schema;
use MoonShine\Laravel\Models\MoonshineUserRole;

return new class extends Migration
{
return new class () extends Migration {
/**
* Run the migrations.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
use Illuminate\Support\Facades\Schema;
use MoonShine\Laravel\Models\MoonshineUserRole;

return new class extends Migration
{
return new class () extends Migration {
/**
* Run the migrations.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
return new class () extends Migration {
public function up(): void
{
if(!config('moonshine.use_database_notifications', false)) {
return;
if (! config('moonshine.use_database_notifications', false)) {
return;
}

if(!Schema::hasTable('notifications')) {
if (! Schema::hasTable('notifications')) {
Schema::create('notifications', static function (Blueprint $table): void {
$table->uuid('id')->primary();
$table->string('type');
Expand Down
6 changes: 3 additions & 3 deletions src/Laravel/lang/en/ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
'import' => [
'imported' => 'Imported',
'file_required' => 'File is required',
'extension_not_supported' => 'File extension not supported'
]
'extension_not_supported' => 'File extension not supported',
],
],
'choices' => [
'no_results' => 'No results found',
Expand All @@ -86,5 +86,5 @@
'add_item' => 'Press Enter to add ":value"',
'max_item' => 'Only :count values can be added',
'remove_item' => 'Remove item',
]
],
];
2 changes: 1 addition & 1 deletion src/Laravel/routes/moonshine.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
->name('profile.store');
}

$router->middleware($authMiddleware)->group(function () use($pagePrefix): void {
$router->middleware($authMiddleware)->group(function () use ($pagePrefix): void {
/**
* @see EndpointsContract::home()
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Laravel/src/Http/Controllers/MoonShineController.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
use Illuminate\Routing\Controller as BaseController;
use MoonShine\Contracts\Core\PageContract;
use MoonShine\Contracts\UI\TableBuilderContract;
use MoonShine\Laravel\Pages\QuickPage;
use MoonShine\Laravel\Http\Responses\MoonShineJsonResponse;
use MoonShine\Laravel\Notifications\MoonShineNotificationContract;
use MoonShine\Laravel\Pages\QuickPage;
use MoonShine\Laravel\Traits\Controller\InteractsWithAuth;
use MoonShine\Laravel\Traits\Controller\InteractsWithUI;
use MoonShine\Support\Enums\ToastType;
Expand Down

0 comments on commit b550589

Please sign in to comment.