Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295251

Sql::addWhere has wrong type for $value

$
0
0

Problem/Motivation

Found an error in the type declaration of $value in \Drupal\views\Plugin\views\query\Sql::addWhere. It defines string|null but should also allow for array as explained in the argument description.

Found this by a failing PhpStan test for next minor in the DANSE project: https://git.drupalcode.org/project/danse/-/jobs/3904122


Viewing all articles
Browse latest Browse all 295251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>