File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 7
7
- Enh #779 : Specify result type of ` QueryInterface::all() ` , ` CommandInterface::queryAll() ` and
8
8
` DbArrayHelper::populate() ` methods to ` array[] ` (@vjik )
9
9
- Enh #779 : Specify populate closure type in ` BatchQueryResultInterface ` (@vjik )
10
+ - Enh #778 : Deprecate unnecessary argument ` $rawSql ` of ` AbstractCommand::internalExecute() ` (@Tigrov )
10
11
11
12
## 1.2.0 November 12, 2023
12
13
Original file line number Diff line number Diff line change @@ -548,7 +548,7 @@ abstract protected function internalGetQueryResult(int $queryMode): mixed;
548
548
/**
549
549
* Executes a prepared statement.
550
550
*
551
- * @param string|null $rawSql The rawSql if it has been created .
551
+ * @param string|null $rawSql Deprecated. Use `null` value. Will be removed in version 2.0.0 .
552
552
*
553
553
* @throws Exception
554
554
* @throws Throwable
@@ -581,7 +581,7 @@ protected function queryInternal(int $queryMode): mixed
581
581
$ isReadMode = $ this ->isReadMode ($ queryMode );
582
582
$ this ->prepare ($ isReadMode );
583
583
584
- $ this ->internalExecute ($ this -> getRawSql () );
584
+ $ this ->internalExecute (null );
585
585
586
586
/** @psalm-var mixed $result */
587
587
$ result = $ this ->internalGetQueryResult ($ queryMode );
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ protected function getQueryMode(int $queryMode): string
186
186
*
187
187
* It's a wrapper around {@see PDOStatement::execute()} to support transactions and retry handlers.
188
188
*
189
- * @param string|null $rawSql The rawSql if it has been created .
189
+ * @param string|null $rawSql Deprecated. Use `null` value. Will be removed in version 2.0.0 .
190
190
*
191
191
* @throws Exception
192
192
* @throws Throwable
You can’t perform that action at this time.
0 commit comments