Route service provider add comment

This commit is contained in:
Jérémy Munsch 2021-08-23 22:45:18 +02:00
parent 6c28c87781
commit 98b84fbfdf

View file

@ -52,6 +52,7 @@ class RouteServiceProvider extends ServiceProvider
throw (new ModelNotFoundException())->setModel(Customer::class);
}
}
/** @var \App\Models\Customer $customer */
return $customer->loadBrandData(app('App\Models\Service')->brand);
});
}