1
0
Fork 0
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:
stancl 2019-09-08 09:11:59 +00:00 committed by StyleCI Bot
parent 61739dc5fc
commit 805644f85b
4 changed files with 11 additions and 5 deletions

View file

@ -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));
}, []);
}
}
}

View file

@ -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;
});
}
}
}