Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Aug 26, 2023
1 parent 1660b71 commit 010bab5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion app/Livewire/Datatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function BuildPagination()

$model = $this->addSearchFilter($model);

return $model->paginate($this->perPage, pageName: $this->uniqueId);
return $model->paginate($this->perPage, pageName: $this->uniqueId);
}

public function addSearchFilter($model)
Expand Down
1 change: 0 additions & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\Providers;

use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
Expand Down
2 changes: 1 addition & 1 deletion app/Services/Timetable/TimeSlotService.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function createTimetableRecord(TimetableTimeSlot $timeSlot, $data)
//i'm sorry for this
if ($data['type'] == 'subject') {
$data['type'] = 'App\Models\Subject';
}elseif ($data['type'] == 'customTimetableItem') {
} elseif ($data['type'] == 'customTimetableItem') {
$data['type'] = 'App\Models\CustomTimetableItem';
}

Expand Down
9 changes: 3 additions & 6 deletions config/log-viewer.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

use Opcodes\LogViewer\Level;

return [

/*
Expand Down Expand Up @@ -69,9 +67,9 @@
|
*/

'middleware' => ['web', 'role:super-admin', \Opcodes\LogViewer\Http\Middleware\AuthorizeLogViewer::class,],
'middleware' => ['web', 'role:super-admin', \Opcodes\LogViewer\Http\Middleware\AuthorizeLogViewer::class],

/*
/*
|--------------------------------------------------------------------------
| Log Viewer API middleware.
|--------------------------------------------------------------------------
Expand All @@ -85,7 +83,7 @@
\Opcodes\LogViewer\Http\Middleware\AuthorizeLogViewer::class,
],

/*
/*
|--------------------------------------------------------------------------
| Log Viewer Remote hosts.
|--------------------------------------------------------------------------
Expand Down Expand Up @@ -197,7 +195,6 @@

'cache_driver' => env('LOG_VIEWER_CACHE_DRIVER', null),


/*
|--------------------------------------------------------------------------
| Log matching patterns
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
return new class() extends Migration {
/**
* Run the migrations.
*/
Expand Down

0 comments on commit 010bab5

Please sign in to comment.