Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
project
drupal
Merge requests
!12066
Issue
#3501046
: Replace func_get_args with variable-length argument in hasAllTags and hasAnyTag
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3501046
: Replace func_get_args with variable-length argument in hasAllTags and hasAnyTag
issue/drupal-3501046:3501046-replace-funcgetargs-with
into
11.x
Overview
1
Commits
1
Pipelines
1
Changes
4
Open
Ann Mary Sruthy
requested to merge
issue/drupal-3501046:3501046-replace-funcgetargs-with
into
11.x
2 weeks ago
Overview
1
Commits
1
Pipelines
1
Changes
4
Expand
Closes
#3501046
0
0
Merge request reports
Compare
11.x
11.x (HEAD)
and
latest version
latest version
69b48863
1 commit,
2 weeks ago
4 files
+
14
−
22
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
core/lib/Drupal/Core/Database/Query/AlterableInterface.php
+
2
−
10
Options
@@ -40,36 +40,28 @@ public function hasTag($tag);
*
* Each tag to check should be supplied as a separate argument.
*
* phpcs:ignore
* @param string ...$tags
* A variable number of arguments, one for each tag to check.
*
* @return bool
* TRUE if this query has been marked with all specified tags, FALSE
* otherwise.
*
* @todo Remove PHPCS ignore and uncomment new method parameters before
* drupal:12.0.0. See https://www.drupal.org/project/drupal/issues/3501046.
*/
public
function
hasAllTags
(
/*
string ...$tags
*/
);
public
function
hasAllTags
(
string
...
$tags
);
/**
* Determines if a given query has any specified tag.
*
* Each tag to check should be supplied as a separate argument.
*
* phpcs:ignore
* @param string ...$tags
* A variable number of arguments, one for each tag to check.
*
* @return bool
* TRUE if this query has been marked with at least one of the specified
* tags, FALSE otherwise.
*
* @todo Remove PHPCS ignore and uncomment new method parameters before
* drupal:12.0.0. See https://www.drupal.org/project/drupal/issues/3501046.
*/
public
function
hasAnyTag
(
/*
string ...$tags
*/
);
public
function
hasAnyTag
(
string
...
$tags
);
/**
* Adds additional metadata to the query.
Loading