Make WordPress Core

Opened 2 years ago

Closed 20 months 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: 5.1
Component: I18N Keywords: has-patch
Focuses: docs, coding-standards Cc:


@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 2 years ago.

Download all attachments as: .zip

Change History (5)

#1 @subrataemfluence
2 years ago

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

#2 @netweb
2 years ago

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

#3 @pento
22 months ago

  • Milestone changed from 5.0 to 5.1

#4 @DrewAPicture
20 months 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.