From fe3b8525b2489303bfc6f96c8da7a0786d52516b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Va=C5=99=C3=ADlek?= <93047221+d1d3@users.noreply.github.com> Date: Thu, 22 Aug 2024 20:30:13 +0200 Subject: [PATCH] fix callback result comparison --- src/Tenancy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tenancy.php b/src/Tenancy.php index cd75c23b..6f6ab76a 100644 --- a/src/Tenancy.php +++ b/src/Tenancy.php @@ -158,7 +158,7 @@ class Tenancy $this->initialize($tenant); - if (! $callback($tenant)) { + if ($callback($tenant) === false) { break; }; }