Opened 6 years ago
Closed 6 years ago
#44422 closed defect (bug) (fixed)
Missing @return tag and wrong parameter reference in function/method PHPDoc comment
Reported by: | subrataemfluence | Owned by: | DrewAPicture |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | 5.1 |
Component: | Filesystem API | Keywords: | has-patch commit |
Focuses: | docs, coding-standards | Cc: |
Description
File name: src/wp-includes/pomo/streams.php
Wrong parameter name reference
<?php /** * ... * @param integer count How many elements should be read * ... */ function readint32array( $count ) { ... }
Missing @return
tag.
<?php /** * @param int $bytes */ function read( $bytes ) { return fread( $this->_f, $bytes ); }
Attachments (2)
Change History (7)
#1
follow-up:
↓ 2
@
6 years ago
- Keywords has-patch needs-refresh added; needs-patch removed
- Milestone changed from Awaiting Review to 5.0
Can you remove the spacing between the types please @subrataemfluence i.e. string|false
Note: See
TracTickets for help on using
tickets.
Proposed patch