1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 06:04:03 +00:00

Add void typehint

This commit is contained in:
Samuel Štancl 2019-11-04 12:00:27 +01:00
parent 1642f96e48
commit 3174256bd2

View file

@ -11,7 +11,7 @@ use Stancl\Tenancy\TenantManager;
class Timestamps implements Feature
{
public function bootstrap(TenantManager $tenantManager)
public function bootstrap(TenantManager $tenantManager): void
{
$tenantManager->hook('tenant.creating', function ($tm, Tenant $tenant) {
$tenant->with('created_at', Date::now());