Skip to content

Commit eac984a

Browse files
laravelwebdevgithub-actions[bot]
authored andcommitted
Fixes coding style
1 parent 6c6d663 commit eac984a

File tree

6 files changed

+7
-11
lines changed

6 files changed

+7
-11
lines changed

app/Models/IzinKeluar.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace App\Models;
44

5-
use App\Models\User;
65
use Illuminate\Database\Eloquent\Factories\HasFactory;
76
use Illuminate\Database\Eloquent\Model;
87
use Illuminate\Database\Eloquent\Relations\BelongsTo;

app/Models/KerangkaAcuan.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
class KerangkaAcuan extends Model
99
{
1010
use HasFactory;
11+
1112
protected $casts = [
1213
'tanggal' => 'date',
1314
'awal' => 'date',

app/Nova/IzinKeluar.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
class IzinKeluar extends Resource
1616
{
17-
public static $with = ['user',];
17+
public static $with = ['user'];
18+
1819
/**
1920
* Get the label for the resource.
2021
*

app/Nova/KerangkaAcuan.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class KerangkaAcuan extends Resource
3434
/**
3535
* Get the fields displayed by the resource.
3636
*
37-
* @param \Laravel\Nova\Http\Requests\NovaRequest $request
3837
* @return array
3938
*/
4039
public function fields(NovaRequest $request)
@@ -47,7 +46,6 @@ public function fields(NovaRequest $request)
4746
/**
4847
* Get the cards available for the request.
4948
*
50-
* @param \Laravel\Nova\Http\Requests\NovaRequest $request
5149
* @return array
5250
*/
5351
public function cards(NovaRequest $request)
@@ -58,7 +56,6 @@ public function cards(NovaRequest $request)
5856
/**
5957
* Get the filters available for the resource.
6058
*
61-
* @param \Laravel\Nova\Http\Requests\NovaRequest $request
6259
* @return array
6360
*/
6461
public function filters(NovaRequest $request)
@@ -69,7 +66,6 @@ public function filters(NovaRequest $request)
6966
/**
7067
* Get the lenses available for the resource.
7168
*
72-
* @param \Laravel\Nova\Http\Requests\NovaRequest $request
7369
* @return array
7470
*/
7571
public function lenses(NovaRequest $request)
@@ -80,7 +76,6 @@ public function lenses(NovaRequest $request)
8076
/**
8177
* Get the actions available for the resource.
8278
*
83-
* @param \Laravel\Nova\Http\Requests\NovaRequest $request
8479
* @return array
8580
*/
8681
public function actions(NovaRequest $request)

app/Nova/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class User extends Resource
1616
{
17-
public static $with = ['unitKerja',];
17+
public static $with = ['unitKerja'];
1818

1919
/**
2020
* The model the resource corresponds to.

database/migrations/2024_08_13_143332_create_kerangka_acuans_table.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ public function up(): void
3030
$table->date('awal')->nullable();
3131
$table->date('akhir')->nullable();
3232
$table->string('nama')->nullable();
33-
$table->string('nip',30)->nullable();
34-
$table->string('jabatan',50)->nullable();
33+
$table->string('nip', 30)->nullable();
34+
$table->string('jabatan', 50)->nullable();
3535
$table->bigInteger('unit_kerja_id')->nullable()->unsigned();
3636
$table->string('ppk')->nullable();
37-
$table->string('nipppk',30)->nullable();
37+
$table->string('nipppk', 30)->nullable();
3838
$table->string('link')->nullable();
3939
$table->string('tahun', 4)->nullable();
4040
$table->timestamps();

0 commit comments

Comments
 (0)