File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010use PhpDb \Adapter \Driver \Feature \DriverFeatureProviderInterface ;
1111use PhpDb \Adapter \Driver \Pdo \AbstractPdo ;
1212use PhpDb \Adapter \Driver \Pdo \Result ;
13+ use PhpDb \Adapter \Driver \Pdo \Statement ;
1314use PhpDb \Adapter \Driver \PdoConnectionInterface ;
1415use PhpDb \Adapter \Driver \PdoDriverAwareInterface ;
1516use PhpDb \Adapter \Driver \ResultInterface ;
@@ -19,8 +20,8 @@ class Driver extends AbstractPdo
1920{
2021 public function __construct (
2122 (PdoConnectionInterface &PdoDriverAwareInterface )|PDO $ connection ,
22- StatementInterface &PdoDriverAwareInterface $ statementPrototype ,
23- ResultInterface $ resultPrototype ,
23+ StatementInterface &PdoDriverAwareInterface $ statementPrototype = new Statement () ,
24+ ResultInterface $ resultPrototype = new Result () ,
2425 array $ features = [],
2526 ) {
2627 $ this ->connection = $ connection ;
You can’t perform that action at this time.
0 commit comments