- Now connecting on first use, instead of automatically on bootstrap

This commit is contained in:
Dave Mc Nicoll committed 2023-01-24 13:37:13 +00:00
1 parent cca905b8ae
commit 719eef4e33
1 file changed
+1 -1
+1 -1
View File
@@ -48,7 +48,7 @@ class ConnectionAdapter extends \Ulmus\ConnectionAdapter
public function connector() : object
{
return $this->connection;
return isset($this->connection) ? $this->connection : $this->connect()->connection;
}
public function adapter() : AdapterInterface