1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-14 11:54:04 +00:00

phpstan improvements

This commit is contained in:
Samuel Štancl 2022-09-29 15:07:16 +02:00
parent 87212e5390
commit d463e2da61
10 changed files with 18 additions and 27 deletions

View file

@ -24,7 +24,7 @@ class CreateDatabase implements ShouldQueue
) {
}
public function handle(DatabaseManager $databaseManager)
public function handle(DatabaseManager $databaseManager): bool
{
event(new CreatingDatabase($this->tenant));
@ -38,5 +38,7 @@ class CreateDatabase implements ShouldQueue
$this->tenant->database()->manager()->createDatabase($this->tenant);
event(new DatabaseCreated($this->tenant));
return true;
}
}