Fix bug with empty array of onConnect triggers when using postgres

This commit is contained in:
Greyscale 2024-07-30 02:18:23 +02:00
parent 6fe7531914
commit 761faae8c5

View file

@ -22,7 +22,7 @@ class Database
private array $ignoredTables = [];
/** @var callable[] */
private array $onConnect;
private array $onConnect = [];
private ?Adapter $adapter = null;