Add explicit typecast for $value.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
64b10f61df
commit
0e3ddf1b27
|
@ -869,14 +869,14 @@ class QueryBuilder implements IQueryBuilder {
|
|||
* </code>
|
||||
*
|
||||
* @param string $column The column into which the value should be inserted.
|
||||
* @param string $value The value that should be inserted into the column.
|
||||
* @param IParameter|string $value The value that should be inserted into the column.
|
||||
*
|
||||
* @return $this This QueryBuilder instance.
|
||||
*/
|
||||
public function setValue($column, $value) {
|
||||
$this->queryBuilder->setValue(
|
||||
$this->helper->quoteColumnName($column),
|
||||
$value
|
||||
(string) $value
|
||||
);
|
||||
|
||||
return $this;
|
||||
|
|
|
@ -651,7 +651,7 @@ interface IQueryBuilder {
|
|||
* </code>
|
||||
*
|
||||
* @param string $column The column into which the value should be inserted.
|
||||
* @param string $value The value that should be inserted into the column.
|
||||
* @param IParameter|string $value The value that should be inserted into the column.
|
||||
*
|
||||
* @return $this This QueryBuilder instance.
|
||||
* @since 8.2.0
|
||||
|
|
Loading…
Reference in New Issue