Make WordPress Core

Changeset 33052


Ignore:
Timestamp:
07/02/2015 09:04:57 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Replace @returns with @return in PHP docblocks.

props kraftbj.
fixes #32865.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r32999 r33052  
    945945     *
    946946     * @param array $data The site's data.
    947      * @returns array Embeds selected to be available.
     947     * @return array Embeds selected to be available.
    948948     */
    949949    public function get_embeds( $data ) {
     
    978978     *
    979979     * @param array $data The site's data.
    980      * @returns array
     980     * @return array
    981981     */
    982982    public function get_images( $data ) {
     
    10121012     *
    10131013     * @param array $data The site's data.
    1014      * @returns string Discovered canonical URL, or empty
     1014     * @return string Discovered canonical URL, or empty
    10151015     */
    10161016    public function get_canonical_link( $data ) {
     
    10431043     *
    10441044     * @param array $data The site's data.
    1045      * @returns string Discovered site name, or empty
     1045     * @return string Discovered site name, or empty
    10461046     */
    10471047    public function get_source_site_name( $data ) {
     
    10661066     *
    10671067     * @param array $data The site's data.
    1068      * @returns string Discovered page title, or empty
     1068     * @return string Discovered page title, or empty
    10691069     */
    10701070    public function get_suggested_title( $data ) {
     
    10951095     *
    10961096     * @param array $data The site's data.
    1097      * @returns string Discovered content, or empty
     1097     * @return string Discovered content, or empty
    10981098     */
    10991099    public function get_suggested_content( $data ) {
  • trunk/src/wp-includes/class-wp-image-editor-gd.php

    r32964 r33052  
    347347     * @param bool $horz Flip along Horizontal Axis
    348348     * @param bool $vert Flip along Vertical Axis
    349      * @returns true|WP_Error
     349     * @return true|WP_Error
    350350     */
    351351    public function flip( $horz, $vert ) {
  • trunk/src/wp-includes/class-wp-image-editor-imagick.php

    r32964 r33052  
    414414     * @param bool $horz Flip along Horizontal Axis
    415415     * @param bool $vert Flip along Vertical Axis
    416      * @returns true|WP_Error
     416     * @return true|WP_Error
    417417     */
    418418    public function flip( $horz, $vert ) {
Note: See TracChangeset for help on using the changeset viewer.