Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
marco76tv committed Nov 21, 2023
1 parent 5ead986 commit af976e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function up(): void
{
// -- CREATE --
$this->tableCreate(
static function (Blueprint $table) : void {
function (Blueprint $table) : void {
// $table->uuid('id')->primary();
$table->id();
$table->string('group');
Expand All @@ -28,7 +28,7 @@ static function (Blueprint $table) : void {
);
// -- UPDATE --
$this->tableUpdate(
static function (Blueprint $table) : void {
function (Blueprint $table) : void {
app(SettingsMigrator::class)->add('general.site_name', 'Spatie');
app(SettingsMigrator::class)->add('general.site_active', 'Spatie');
app(SettingsMigrator::class)->add('general.logo', 'logo.png');
Expand Down
2 changes: 1 addition & 1 deletion Filament/Pages/BackupMysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ protected function getViewData(): array
{
Assert::isArray($connections = config('database.connections'));

$connections = array_filter($connections, static fn($item): bool => 'mysql' === $item['driver']);
$connections = array_filter($connections, fn($item): bool => 'mysql' === $item['driver']);

// $connections=collect($connections)->keyBy('database');
return ['connections' => $connections];
Expand Down
2 changes: 1 addition & 1 deletion Routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
*/

/*
Route::middleware('auth:api')->get('/setting', static fn(Request $request) => $request->user());
Route::middleware('auth:api')->get('/setting', fn(Request $request) => $request->user());
*/

0 comments on commit af976e8

Please sign in to comment.