mirror of
https://github.com/10h30/Test-Laravel-Eloquent-Basics.git
synced 2026-06-05 15:07:45 +09:00
Complete all stats
This commit is contained in:
@@ -13,7 +13,7 @@ class ProjectObserver
|
||||
public function creating(Project $project): void
|
||||
{
|
||||
|
||||
Stat::first()->increment('projects_count');
|
||||
$stat = Stat::first()->increment('projects_count');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user