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.
Sorry if the qualifies for minor nit pick of the week... it is as least quick to review :)
I'm not sure what the @abstract is trying to denote here, and I find it slightly distracting...
There are no @abstract tag in core.. for comparison.
I might be persuaded that abstract is correct, but not necessarily a useful contribution to an interface class as a whole.
but it makes no sense to label an individual method on a interface as abstract!
On a super nit picky note the coding standard demands @param be the first tag in a method comment block... so it is also showing up in a phpcs check of the file.
Comment | File | Size | Author |
---|---|---|---|
abstract-0.patch | 489 bytes | martin107 | |
Comments
Comment #1
martin107 CreditAttribution: martin107 commentedFrom
http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutoria...
This should definitely go....
Comment #2
joachim CreditAttribution: joachim commentedIf it's not used in core, then it's almost certainly not recognized by API module. So indeed, there's no point having it. I think we can go with this without waiting for the tesbot...
Thanks! Clean-ups always appreciated, no matter how nitpicky :)
Comment #5
joachim CreditAttribution: joachim commented