Skip to content
Snippets Groups Projects
Unverified Commit 0e3ddf1b authored by Daniel Kesselberg's avatar Daniel Kesselberg
Browse files

Add explicit typecast for $value.

parent 64b10f61
No related branches found
No related tags found
No related merge requests found
...@@ -869,14 +869,14 @@ class QueryBuilder implements IQueryBuilder { ...@@ -869,14 +869,14 @@ class QueryBuilder implements IQueryBuilder {
* </code> * </code>
* *
* @param string $column The column into which the value should be inserted. * @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. * @return $this This QueryBuilder instance.
*/ */
public function setValue($column, $value) { public function setValue($column, $value) {
$this->queryBuilder->setValue( $this->queryBuilder->setValue(
$this->helper->quoteColumnName($column), $this->helper->quoteColumnName($column),
$value (string) $value
); );
return $this; return $this;
......
...@@ -651,7 +651,7 @@ interface IQueryBuilder { ...@@ -651,7 +651,7 @@ interface IQueryBuilder {
* </code> * </code>
* *
* @param string $column The column into which the value should be inserted. * @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. * @return $this This QueryBuilder instance.
* @since 8.2.0 * @since 8.2.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment