WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 5 weeks ago

#44421 closed defect (bug) (fixed)

Missing @return tag in function/method PHPDoc comment

Reported by: subrataemfluence Owned by: DrewAPicture
Milestone: 5.1 Priority: normal
Severity: normal Version: trunk
Component: I18N Keywords: has-patch
Focuses: docs, coding-standards Cc:

Description

@return tag is missing in function/method PHPDoc comment.

File: src/wp-includes/pomo/mo.php

Functions that missing @return tag are:

import_from_file, &make_entry, import_from_reader

Proposed patch uploaded.

Attachments (1)

44421.diff (1.0 KB) - added by subrataemfluence 7 months ago.

Download all attachments as: .zip

Change History (5)

#1 @subrataemfluence
7 months ago

  • Focuses docs added
  • Keywords has-patch added; needs-patch removed

#2 @netweb
7 months ago

  • Component changed from General to I18N
  • Milestone changed from Awaiting Review to 5.0

#3 @pento
3 months ago

  • Milestone changed from 5.0 to 5.1

#4 @DrewAPicture
5 weeks ago

  • Owner set to DrewAPicture
  • Resolution set to fixed
  • Status changed from new to closed

In 44336:

Docs: Add missing @return notations to three MO method DocBlocks.

Props subrataemfluence.
Fixes #44421.

Note: See TracTickets for help on using tickets.