mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 22:34:03 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
61739dc5fc
commit
805644f85b
4 changed files with 11 additions and 5 deletions
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stancl\Tenancy\Features;
|
||||
|
||||
use Laravel\Telescope\Telescope;
|
||||
|
|
@ -31,8 +33,8 @@ class TelescopeTags implements Feature
|
|||
|
||||
public function getTags(IncomingEntry $entry): array
|
||||
{
|
||||
return array_reduce($this->callbacks, function ($tags, $listener) use($entry) {
|
||||
return array_reduce($this->callbacks, function ($tags, $listener) use ($entry) {
|
||||
return array_merge($tags, $listener($entry));
|
||||
}, []);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Stancl\Tenancy\TenantManager;
|
||||
use Stancl\Tenancy\Contracts\Feature;
|
||||
|
||||
|
|
@ -17,4 +19,4 @@ class TenantRedirect implements Feature
|
|||
return $this;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue