Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Discovered in #2212437: Select::execute() needs @return docs, Select::havingCompile() simply calls ConditionInterface::compile(), and returns the result, but compile() is explicitly documented as not returning a value:
* This method does not return anything, but simply prepares data to be
* retrieved via __toString() and arguments().
Comment | File | Size | Author |
---|---|---|---|
#1 | 2213297-select-havingcompile-1.patch | 571 bytes | longwave |
Comments
Comment #1
longwaveComment #2
Cameron Tod CreditAttribution: Cameron Tod commentedComment #3
webchickCommitted and pushed to 8.x. Thanks!
Looks like that function is also missing PHPDoc. Is that covered in the referenced issue, or should we spin up a novice issue for that?
Comment #4
longwave#2212437: Select::execute() needs @return docs will cover documentation for all of the Select class.
Comment #5
jhodgdons/will cover/covered/ -- that other issue's patch (also by longwave) has been committed. This was a spin-off issue. Go longwave!