Issue #3029500 by catch, Gábor Hojtsy, alexpott, Berdir: Drupal\Core\Database\Query\Select::hasAllTags() and hasAnyTag() will require a new "$tags" argument in the next major version of its parent class

8.7.x
Alex Pott 2019-01-31 16:09:00 +00:00
parent ee4692e534
commit 1022611bee
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
2 changed files with 9 additions and 5 deletions

View File

@ -38,8 +38,10 @@ interface AlterableInterface {
/**
* Determines if a given query has all specified tags.
*
* @param $tags
* A variable number of arguments, one for each tag to check.
* Each tag to check should be supplied as a separate argument.
*
* @todo Restore PHPDoc of variadic argument in Drupal 8.8, see
* https://www.drupal.org/project/drupal/issues/3029729
*
* @return
* TRUE if this query has been marked with all specified tags, FALSE
@ -50,8 +52,10 @@ interface AlterableInterface {
/**
* Determines if a given query has any specified tag.
*
* @param $tags
* A variable number of arguments, one for each tag to check.
* Each tag to check should be supplied as a separate argument.
*
* @todo Restore PHPDoc of variadic argument in Drupal 8.8, see
* https://www.drupal.org/project/drupal/issues/3029729
*
* @return
* TRUE if this query has been marked with at least one of the specified

View File

@ -239,7 +239,7 @@ abstract class Schema implements PlaceholderInterface {
*
* @param $table
* The name of the table in drupal (no prefixing).
* @param $name
* @param $column
* The name of the column.
*
* @return