Opened 7 years ago
Closed 6 years ago
#44454 closed defect (bug) (fixed)
Argument type in PHPDoc comment does not match with the parameter type
Reported by: | subrataemfluence | Owned by: | pento |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | 5.1 |
Component: | Cache API | Keywords: | has-patch |
Focuses: | docs, coding-standards | Cc: |
Description
File: /wp-includes/cache.php
<?php ... * @param string $force Optional. Unused. Whether to force a refetch rather than relying on the local ... public function get( $key, $group = 'default', $force = false, &$found = null ) { ... }
Should be:
<?php * @param bool $force Optional. Unused. Whether to force a refetch rather than relying on the local
Attachments (3)
Change History (12)
#3
@
6 years ago
- Summary changed from Argument type in PHODoc comment does not match with the parameter type to Argument type in PHPDoc comment does not match with the parameter type
Note: See
TracTickets for help on using
tickets.
Spacing needs an update after the change in 44454.diff please @subrataemfluence