1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 03:54:02 +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

@ -16,24 +16,11 @@ class CreateStorageSymlinks implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
public Tenant $tenant;
public function __construct(
public Tenant $tenant,
) {}
/**
* Create a new job instance.
*
* @return void
*/
public function __construct(Tenant $tenant)
{
$this->tenant = $tenant;
}
/**
* Execute the job.
*
* @return void
*/
public function handle()
public function handle(): void
{
CreateStorageSymlinksAction::handle($this->tenant);
}