mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 16:14:02 +00:00
phpstan, global_cache, resolver improvements, InitializationHelpers trait
This commit is contained in:
parent
fd65cf1754
commit
87212e5390
35 changed files with 170 additions and 231 deletions
|
|
@ -6,12 +6,12 @@ namespace Stancl\Tenancy\Concerns;
|
|||
|
||||
trait DealsWithMigrations
|
||||
{
|
||||
protected function getMigrationPaths()
|
||||
protected function getMigrationPaths(): array
|
||||
{
|
||||
if ($this->input->hasOption('path') && $this->input->getOption('path')) {
|
||||
return parent::getMigrationPaths();
|
||||
}
|
||||
|
||||
return database_path('migrations/tenant');
|
||||
return [database_path('migrations/tenant')];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue