Skip to content

Commit 8aa568e

Browse files
Merge pull request #55 from laravelwebdev/analysis-Q3g7n6
Apply fixes from StyleCI
2 parents 9a8b6aa + 62a4797 commit 8aa568e

File tree

8 files changed

+8
-13
lines changed

8 files changed

+8
-13
lines changed

app/Models/KerangkaAcuan.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public function anggaranKerangkaAcuan(): HasMany
3737
return $this->hasMany(AnggaranKerangkaAcuan::class);
3838
}
3939

40-
4140
/**
4241
* The "booted" method of the model.
4342
*/

app/Models/Template.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ public static function cacheEntities(): array
2020
}),
2121
];
2222
}
23-
2423
}

app/Nova/Actions/ImportKodeArsip.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use App\Helpers\Helper;
66
use App\Imports\KodeArsipsImport;
77
use App\Models\KodeArsip;
8-
use App\Models\Template;
98
use Illuminate\Bus\Queueable;
109
use Illuminate\Queue\InteractsWithQueue;
1110
use Illuminate\Support\Collection;

app/Nova/Actions/ImportMitra.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use App\Helpers\Helper;
66
use App\Imports\MitrasImport;
77
use App\Models\Mitra;
8-
use App\Models\Template;
98
use Illuminate\Bus\Queueable;
109
use Illuminate\Queue\InteractsWithQueue;
1110
use Illuminate\Support\Collection;

app/Nova/AnggaranKerangkaAcuan.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ public static function label()
5050
*/
5151
public function fields(NovaRequest $request)
5252
{
53-
return [
53+
return [
5454
Select::make('MAK', 'mak')
5555
->rules('required')
5656
->searchable()
57-
->filterable()
57+
->filterable()
5858
->dependsOn('tanggal', function (Select $field, NovaRequest $request, FormData $formData) {
5959
$field->options(Helper::setOptionsMataAnggaran(Helper::getYearFromDate(KerangkaAcuan::find($formData->kerangkaAcuan)->tanggal)));
6060
}),
@@ -63,7 +63,7 @@ public function fields(NovaRequest $request)
6363
->rules('required')
6464
->step(1)
6565
->default(0),
66-
66+
6767
BelongsTo::make('Kerangka Acuan Kerja', 'kerangkaAcuan', KerangkaAcuan::class)
6868
->rules('required')
6969
->searchable()

app/Nova/DataPegawai.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static function label()
2323
{
2424
return 'Data Pegawai';
2525
}
26-
26+
2727
public static $with = ['user', 'unitKerja'];
2828
public static $displayInNavigation = false;
2929
/**

app/Nova/Template.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace App\Nova;
44

55
use Illuminate\Http\Request;
6-
use Laravel\Nova\Fields\BelongsTo;
76
use Laravel\Nova\Fields\File;
87
use Laravel\Nova\Fields\Text;
98
use Laravel\Nova\Http\Requests\NovaRequest;

database/seeders/DatabaseSeeder.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ public function run(): void
4040
);
4141
DB::unprepared(
4242
file_get_contents(database_path().'/dump_sql/templates.sql')
43-
);
43+
);
4444
DB::unprepared(
4545
file_get_contents(database_path().'/dump_sql/unit_kerjas.sql')
46-
);
47-
}
48-
}
46+
);
47+
}
48+
}

0 commit comments

Comments
 (0)