File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -39,15 +39,14 @@ public function __construct(
39
39
$ this ->query = new Query ($ sql );
40
40
}
41
41
42
- public function bindValue ($ param , $ value , $ type = null ): void
42
+ public function bindValue (int | string $ param , mixed $ value , ParameterType $ type ): void
43
43
{
44
- $ type ??= ParameterType::STRING ;
45
44
$ this ->query ->setValue ($ param , $ value , $ type );
46
45
47
46
parent ::bindValue ($ param , $ value , $ type );
48
47
}
49
48
50
- public function execute ($ params = null ): ResultInterface
49
+ public function execute (): ResultInterface
51
50
{
52
51
// clone to prevent variables by reference to change
53
52
$ this ->debugDataHolder ->addQuery ($ this ->connectionName , $ query = clone $ this ->query );
@@ -56,7 +55,7 @@ public function execute($params = null): ResultInterface
56
55
$ query ->start ();
57
56
58
57
try {
59
- return parent ::execute ($ params );
58
+ return parent ::execute ();
60
59
} finally {
61
60
$ query ->stop ();
62
61
$ this ->stopwatch ?->stop('doctrine ' );
You can’t perform that action at this time.
0 commit comments