You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 57d9c6e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: pkg/dbal/DbalContext.php
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,11 @@ public function __construct($connection, array $config = [])
43
43
} elseif (is_callable($connection)) {
44
44
$this->connectionFactory = $connection;
45
45
} else {
46
-
thrownew \InvalidArgumentException('The connection argument must be either Doctrine\DBAL\Connection or callable that returns Doctrine\DBAL\Connection.');
46
+
thrownew \InvalidArgumentException(sprintf(
47
+
'The connection argument must be either %s or callable that returns %s.',
0 commit comments