mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 10:54:04 +00:00
Fix PHPStan error
This commit is contained in:
parent
0bf464b80d
commit
91936bc5ab
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ class CreateRLSPoliciesForTenantTables extends Command
|
|||
protected function getTenantTables(): array
|
||||
{
|
||||
$files = array_filter(File::files('./database/migrations/tenant'), function (SplFileInfo $migration) {
|
||||
return str($migration)->contains('create_');
|
||||
return str($migration->getFilename())->contains('create_');
|
||||
});
|
||||
|
||||
return array_map(function (SplFileInfo $migration) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue