Make WordPress Core


Ignore:
Timestamp:
11/30/2014 09:40:53 PM (12 years ago)
Author:
wonderboymusic
Message:

Add missing @params to src/wp-includes/pomo files.

See #30224.

File:
1 edited

Legend:

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

    r26500 r30663  
    190190         *
    191191         * @static
    192          * @param object &$entry the entry to convert to po string
    193          * @return string|bool PO-style formatted string for the entry or
     192         * @param Translation_Entry &$entry the entry to convert to po string
     193         * @return false|string PO-style formatted string for the entry or
    194194         *      false if the entry is empty
    195195         */
     
    216216        }
    217217
     218        /**
     219         * @param string $filename
     220         * @return boolean
     221         */
    218222        function import_from_file($filename) {
    219223                $f = fopen($filename, 'r');
     
    239243        }
    240244
     245        /**
     246         * @param resource $f
     247         * @param int      $lineno
     248         * @return null|false|array
     249         */
    241250        function read_entry($f, $lineno = 0) {
    242251                $entry = new Translation_Entry();
     
    344353        }
    345354
     355        /**
     356         * @staticvar string   $last_line
     357         * @staticvar boolean  $use_last_line
     358         * @param     resource $f
     359         * @param     string   $action
     360         * @return boolean
     361         */
    346362        function read_line($f, $action = 'read') {
    347363                static $last_line = '';
     
    362378        }
    363379
     380        /**
     381         * @param Translation_Entry $entry
     382         * @param string            $po_comment_line
     383         */
    364384        function add_comment_to_entry(&$entry, $po_comment_line) {
    365385                $first_two = substr($po_comment_line, 0, 2);
     
    376396        }
    377397
     398        /**
     399         * @param string $s
     400         * @return sring
     401         */
    378402        function trim_quotes($s) {
    379403                if ( substr($s, 0, 1) == '"') $s = substr($s, 1);
Note: See TracChangeset for help on using the changeset viewer.