1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 16:54:05 +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 class Timestamps implements Feature
{ {
public function bootstrap(TenantManager $tenantManager) public function bootstrap(TenantManager $tenantManager): void
{ {
$tenantManager->hook('tenant.creating', function ($tm, Tenant $tenant) { $tenantManager->hook('tenant.creating', function ($tm, Tenant $tenant) {
$tenant->with('created_at', Date::now()); $tenant->with('created_at', Date::now());