Skip to content

Commit 738009e

Browse files
Merge pull request #153 from laravelwebdev/analysis-MeP0l4
Apply fixes from StyleCI
2 parents 71d2410 + 7205d0b commit 738009e

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

app/Helpers/Helper.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2422,20 +2422,17 @@ public static function hitungPeriodeGup($tanggalGup): array
24222422
'akhir' => Carbon::instance($endDate),
24232423
'hari' => $days,
24242424
];
2425-
24262425
}
24272426

24282427
return [
24292428
'awal' => '-',
24302429
'akhir' => '-',
24312430
'hari' => 0,
24322431
];
2433-
24342432
}
24352433

24362434
public static function setReminderForUangPersediaan($jenis, $tanggal)
24372435
{
2438-
24392436
$kegiatan = new DaftarKegiatan;
24402437
$kegiatan->jenis = 'Deadline';
24412438
$kegiatan->kegiatan = $jenis === 'gup' ? 'SPM Penggantian UP (GUP)' : 'SPM Pertanggungjawaban TUP (GTUP)';

app/Nova/Metrics/MonitoringKkp.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ public function __construct()
4343
]);
4444

4545
$this->data([
46-
(Row::make(
46+
Row::make(
4747
Cell::make($target ? Helper::formatUang($target) : '-')->class('text-right'),
4848
Cell::make($realisasi ? Helper::formatUang($realisasi) : '-')->class('text-right'),
4949
Cell::make($selisih ? Helper::formatUang($selisih) : '-')->class('text-right')
50-
)),
50+
),
5151
]
5252
);
5353
}

app/Nova/Metrics/MonitoringUpPerJenis.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,16 @@ public function __construct()
4848
]);
4949

5050
$this->data([
51-
(Row::make(
51+
Row::make(
5252
Cell::make('GUP'),
5353
Cell::make($gup ? Helper::terbilangTanggal($gup['akhir']) : '-'),
5454
Cell::make($minGup ? Helper::formatUang($minGup) : '-')->class('text-right')
55-
)),
56-
(Row::make(
55+
),
56+
Row::make(
5757
Cell::make('TUP'),
5858
Cell::make(($tup && $tup['akhir'] !== '-') ? Helper::terbilangTanggal($tup['akhir']) : ($tup['akhir'] ?? '-')),
5959
Cell::make($latestTup ? Helper::formatUang(optional($latestTup)->nilai) : '-')->class('text-right')
60-
)),
60+
),
6161
]
6262
);
6363
}

0 commit comments

Comments
 (0)