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

Fix typos, add tests

This commit is contained in:
Samuel Štancl 2019-08-14 16:54:49 +02:00
parent 82237bd7f3
commit 0111ed6f53
3 changed files with 36 additions and 5 deletions

View file

@ -10,8 +10,8 @@ trait TenantManagerEvents
* @var callable[][]
*/
protected $listeners = [
'boostrapping' => [],
'boostrapped' => [],
'bootstrapping' => [],
'bootstrapped' => [],
'ending' => [],
'ended' => [],
];
@ -35,7 +35,7 @@ trait TenantManagerEvents
* @param callable $callback
* @return self
*/
public function boostrapped(callable $callback)
public function bootstrapped(callable $callback)
{
$this->listeners['bootstrapped'][] = $callback;