Make WordPress Core

Opened 7 years ago

Closed 6 years ago

#44421 closed defect (bug) (fixed)

Missing @return tag in function/method PHPDoc comment

Reported by: subrataemfluence's profile subrataemfluence Owned by: drewapicture's profile DrewAPicture
Milestone: 5.1 Priority: normal
Severity: normal Version: 5.1
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 years ago.

Download all attachments as: .zip

Change History (5)

#1 @subrataemfluence
7 years ago

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

#2 @netweb
7 years ago

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

#3 @pento
6 years ago

  • Milestone changed from 5.0 to 5.1

#4 @DrewAPicture
6 years 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.