Skip to content

Commit ce26896

Browse files
committed
typo
1 parent 2eb1d29 commit ce26896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/fvt.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ abstract class FVTTest
4141
$options = array(PDO::ATTR_AUTOCOMMIT=>$autoCommit);
4242
// Use the driver subclass on PHP 8.4+
4343
$this->db = version_compare(PHP_VERSION, '8.4.0') >= 0
44-
? PDO::construct($this->dsn, $this->user, $this->pass, $options)
44+
? PDO::connect($this->dsn, $this->user, $this->pass, $options)
4545
: new PDO($this->dsn, $this->user, $this->pass, $options);
4646
$this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
4747
$this->db->setAttribute(PDO::ATTR_CASE, PDO::CASE_UPPER);

0 commit comments

Comments
 (0)