#4 - fix
This commit is contained in:
		@@ -4,6 +4,7 @@ declare(strict_types=1);
 | 
			
		||||
 | 
			
		||||
namespace Toby\Providers;
 | 
			
		||||
 | 
			
		||||
use Illuminate\Support\Carbon;
 | 
			
		||||
use Illuminate\Support\ServiceProvider;
 | 
			
		||||
use Toby\Models\User;
 | 
			
		||||
use Toby\Observers\UserObserver;
 | 
			
		||||
@@ -13,5 +14,7 @@ class AppServiceProvider extends ServiceProvider
 | 
			
		||||
    public function boot(): void
 | 
			
		||||
    {
 | 
			
		||||
        User::observe(UserObserver::class);
 | 
			
		||||
 | 
			
		||||
        Carbon::macro("toDisplayString", fn() => $this->translatedFormat("j F Y"));
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user