File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -39,15 +39,14 @@ public function __construct(
3939 $ this ->query = new Query ($ sql );
4040 }
4141
42- public function bindValue ($ param , $ value , $ type = null ): void
42+ public function bindValue (int | string $ param , mixed $ value , ParameterType $ type ): void
4343 {
44- $ type ??= ParameterType::STRING ;
4544 $ this ->query ->setValue ($ param , $ value , $ type );
4645
4746 parent ::bindValue ($ param , $ value , $ type );
4847 }
4948
50- public function execute ($ params = null ): ResultInterface
49+ public function execute (): ResultInterface
5150 {
5251 // clone to prevent variables by reference to change
5352 $ this ->debugDataHolder ->addQuery ($ this ->connectionName , $ query = clone $ this ->query );
@@ -56,7 +55,7 @@ public function execute($params = null): ResultInterface
5655 $ query ->start ();
5756
5857 try {
59- return parent ::execute ($ params );
58+ return parent ::execute ();
6059 } finally {
6160 $ query ->stop ();
6261 $ this ->stopwatch ?->stop('doctrine ' );
You can’t perform that action at this time.
0 commit comments