Skip to content

Commit e742866

Browse files
Merge pull request #28 from laravelwebdev/analysis-YOAnVy
Apply fixes from StyleCI
2 parents bb2df0c + a5280d5 commit e742866

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/Helpers/Helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ public static function addTotalToSpek($spek)
331331
{
332332
$spek = collect($spek);
333333
$spek->transform(function ($item, $index) {
334-
$item['spek_nilai'] = (float)$item['spek_volume'] * (float)$item['spek_harga'];
334+
$item['spek_nilai'] = (float) $item['spek_volume'] * (float) $item['spek_harga'];
335335

336336
return $item;
337337
})->toArray();

app/Nova/KerangkaAcuan.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,10 @@ public function spesifikasiFields()
261261
->step(1)
262262
->default(0),
263263
Textarea::make('Spesifikasi', 'spek_spek')
264-
->rows(2)
264+
->rows(2)
265265
->rules('required')
266-
->placeholder('Mohon diisi secara detail dan spesifik')
267-
->alwaysShow(),
266+
->placeholder('Mohon diisi secara detail dan spesifik')
267+
->alwaysShow(),
268268
])->rules('required', function ($attribute, $value, $fail) {
269269
if ($value == '[]') {
270270
return $fail('validation.required')->translate();

0 commit comments

Comments
 (0)