From 664c16be772d5e54aa92d5662dcb42c68faecd2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Mon, 19 Aug 2019 20:57:02 +0200 Subject: [PATCH] Fix $this->integration --- src/TenancyServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TenancyServiceProvider.php b/src/TenancyServiceProvider.php index 065a0f15..94c6254f 100644 --- a/src/TenancyServiceProvider.php +++ b/src/TenancyServiceProvider.php @@ -60,7 +60,7 @@ class TenancyServiceProvider extends ServiceProvider public function setTelescopeTags() { Telescope::tag(function (\Laravel\Telescope\IncomingEntry $entry) { - $tags = $this->integration('telescope', $entry); + $tags = $this->app->make(TenantManager::class)->integration('telescope', $entry); if (\in_array('tenancy', request()->route()->middleware())) { $tags = \array_merge($tags, [