Skip to content

Commit 14e3802

Browse files
imaarovgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 757705c commit 14e3802

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

config/disk-monitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
*/
88
'disk_names' => [
99
'local',
10-
10+
1111
],
1212
];

src/Commands/RecordDiskMetricCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ public function handle(): int
1717
$this->comment('Recording metrics...');
1818

1919
collect($disk_names = config('disk-monitor.disk_names'))
20-
->each(fn(string $disk_name) => $this->recordMetrics($disk_name));
20+
->each(fn (string $disk_name) => $this->recordMetrics($disk_name));
2121

2222
$this->comment('All done!');
2323

2424
return self::SUCCESS;
2525
}
2626

27-
protected function recordMetrics(string $disk_name):void
27+
protected function recordMetrics(string $disk_name): void
2828
{
2929
$this->info("Recording metrics for disk `{$disk_name}`...");
3030
$disk = Storage::disk($disk_name);

src/Models/DiskMonitorEntry.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
class DiskMonitorEntry extends Model
88
{
99
public $guarded = [];
10+
1011
public $casts = [
11-
'file_count' => 'integer'
12+
'file_count' => 'integer',
1213
];
1314

1415
public static function last(): ?self

0 commit comments

Comments
 (0)