WordPress.org

Make WordPress Core

Changeset 44336


Ignore:
Timestamp:
12/19/2018 05:03:27 PM (16 months ago)
Author:
DrewAPicture
Message:

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

Props subrataemfluence.
Fixes #44421.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pomo/mo.php

    r43635 r44336  
    3636         *
    3737         * @param string $filename MO file to load
     38         * @return bool True if the import from file was successful, otherwise false.
    3839         */
    3940        function import_from_file( $filename ) {
     
    212213        /**
    213214         * @param POMO_FileReader $reader
     215         * @return bool True if the import was successful, otherwise false.
    214216         */
    215217        function import_from_reader( $reader ) {
     
    308310         * @param string $translation translation string from MO file. Might contain
    309311         *  0x00 as a plural translations separator
     312         * @return Translation_Entry Entry instance.
    310313         */
    311314        function &make_entry( $original, $translation ) {
Note: See TracChangeset for help on using the changeset viewer.