Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
0e3ddf1b
Unverified
Commit
0e3ddf1b
authored
4 years ago
by
Daniel Kesselberg
Browse files
Options
Downloads
Patches
Plain Diff
Add explicit typecast for $value.
Signed-off-by:
Daniel Kesselberg
<
mail@danielkesselberg.de
>
parent
64b10f61
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/private/DB/QueryBuilder/QueryBuilder.php
+2
-2
2 additions, 2 deletions
lib/private/DB/QueryBuilder/QueryBuilder.php
lib/public/DB/QueryBuilder/IQueryBuilder.php
+1
-1
1 addition, 1 deletion
lib/public/DB/QueryBuilder/IQueryBuilder.php
with
3 additions
and
3 deletions
lib/private/DB/QueryBuilder/QueryBuilder.php
+
2
−
2
View file @
0e3ddf1b
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
lib/public/DB/QueryBuilder/IQueryBuilder.php
+
1
−
1
View file @
0e3ddf1b
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment