Closed alanseiden closed 4 years ago
When validating $databaseNameOrResource, we need to allow for the PDO class. This change eliminates the error message "Failed to connect. databaseNameOrResource PDO::__set_state(array( )) not valid"
Fixes the case where the user passes in a PDO object. Did a code review over the phone with other maintainers.
When validating $databaseNameOrResource, we need to allow for the PDO class. This change eliminates the error message "Failed to connect. databaseNameOrResource PDO::__set_state(array( )) not valid"