mirror of
https://github.com/archtechx/tenancy.git
synced 2026-05-06 15:24:03 +00:00
Add parentheses to instanceof check
This commit is contained in:
parent
03318752b6
commit
bbd8f6fd98
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue