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

Rename method

This commit is contained in:
Samuel Štancl 2019-10-21 20:48:10 +02:00
parent 85b1d73cf3
commit 394d976863

View file

@ -87,7 +87,7 @@ class TenantManager
}; };
} }
$afterCreating = array_merge($afterCreating, $this->getUserPostCreateCallbacks()); $afterCreating = array_merge($afterCreating, $this->getUserPostCreationCallbacks());
$this->database->createDatabase($tenant, $afterCreating); $this->database->createDatabase($tenant, $afterCreating);
@ -338,7 +338,7 @@ class TenantManager
} }
/** @return callable[] */ /** @return callable[] */
public function getUserPostCreateCallbacks(): array public function getUserPostCreationCallbacks(): array
{ {
return $this->app['tenancy.postCreationCallbacks'] ?? []; return $this->app['tenancy.postCreationCallbacks'] ?? [];
} }