1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-05-06 21:44:06 +00:00

Add parentheses to instanceof check

This commit is contained in:
lukinovec 2026-05-04 14:37:01 +02:00
parent 03318752b6
commit bbd8f6fd98

View file

@ -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