From bbd8f6fd986893e51052fd17941f988f902f4730 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Mon, 4 May 2026 14:37:01 +0200 Subject: [PATCH] Add parentheses to instanceof check --- tests/TenantDatabaseManagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TenantDatabaseManagerTest.php b/tests/TenantDatabaseManagerTest.php index 46196f80..8a591928 100644 --- a/tests/TenantDatabaseManagerTest.php +++ b/tests/TenantDatabaseManagerTest.php @@ -553,7 +553,7 @@ test('database managers validate parameters that cannot be bound', function ($dr $invalidDatabaseName = "\"database_with_quotes\""; - if (! $manager instanceof ManagesDatabaseUsers) { + if (! ($manager instanceof ManagesDatabaseUsers)) { // Only test createDatabase() and deleteDatabase() with non-permission controlled managers here // since permission controlled managers override these methods to e.g. delete users before // calling parent::deleteDatabase(), and with invalid DB name, the user deletion will already