We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb200bb commit bd7afbcCopy full SHA for bd7afbc
src/Db/Core.php
@@ -108,7 +108,7 @@ public function __construct(
108
109
/**
110
* Load db credentials, but defer connection until needed
111
- *
+ *
112
* @param string|array $host Host Name or full config
113
* @param string $dbname Database name
114
* @param string $user Database username
@@ -376,7 +376,7 @@ public function bind(...$bindings): self
376
*/
377
public function execute()
378
{
379
- if ($this->connection === null) {
+ if ($this->connection() === null) {
380
trigger_error('Initialise your database first with connect()');
381
}
382
0 commit comments