Both getHtml5DateFormat and getHtml5TimeFormatin class Drupal\Core\Datetime\Element\Datetime have Type string for input parameter $element, this should be array.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | incorrect_type_phpdoc_getHtml5DateFormat_getHtml5TimeFormat-3075661-2.patch | 848 bytes | spokje |
Comments
Comment #2
spokjeAttached patch fixes the wrongly typed input variable $element in both functions.
Comment #3
spokjeComment #4
idebr commentedPatch in #2 correctly fixes the docblocks, thanks @Spokje
Comment #6
larowlan