Opened 8 years ago
Closed 8 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.1 |
| Component: | Cache API | Version: | 5.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs, coding-standards |
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
@
8 years ago
- Summary Argument type in PHODoc comment does not match with the parameter type → Argument type in PHPDoc comment does not match with the parameter type
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Spacing needs an update after the change in 44454.diff please @subrataemfluence