mirror of
https://github.com/archtechx/tenancy.git
synced 2026-08-06 05:54:03 +00:00
- We conditionally use either $signature + specifyParameters() in the newer versions or just $name in the older versions. There doesn't appear to be a single solution that'd work in both versions, likely having to do with the constructor override in the trait and how the specifyParameters() method behaves differently in this class between versions - Remove unnecessary options from the Run command (the trait adds those) - Not directly related: make HasTenantOptions accept ...$args - Unrelated: remove phpstan ignore in TenancyServiceProvider
This commit is contained in:
parent
553f57a8ad
commit
e0990a438c
4 changed files with 17 additions and 9 deletions
|
|
@ -16,9 +16,7 @@ class Run extends Command
|
|||
|
||||
protected $description = 'Run a command for tenant(s)';
|
||||
|
||||
protected $signature = 'tenants:run {commandname : The artisan command.}
|
||||
{--tenants=* : The tenant(s) to run the command for. Default: all}
|
||||
{--skip-tenants=* : The tenant(s) to skip}';
|
||||
protected $signature = 'tenants:run {commandname : The artisan command.}';
|
||||
|
||||
public function handle(): int
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue