mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 11:44:04 +00:00
Add void typehint
This commit is contained in:
parent
1642f96e48
commit
3174256bd2
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue