WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/21/2015 10:04:29 PM (6 years ago)
Author:
wonderboymusic
Message:

In class-wp-customize-*, clarify/add some @param/@return blocks. Disambiguate some functions that are trying to return the void response of another function they call internally.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-control.php

    r32382 r32535  
    216216     * @access public
    217217     *
    218      * @return bool Always true.
     218     * @return true Always true.
    219219     */
    220220    public function active_callback() {
     
    680680     *
    681681     * @param WP_Customize_Manager $manager {@see WP_Customize_Manager} instance.
     682     * @param string $id
     683     * @param array $args
    682684     */
    683685    public function __construct( $manager, $id, $args = array() ) {
     
    11241126    }
    11251127
     1128    /**
     1129     * @return string|null
     1130     */
    11261131    public function get_current_image_src() {
    11271132        $src = $this->value();
     
    11301135            return $src;
    11311136        }
    1132         return null;
    11331137    }
    11341138
Note: See TracChangeset for help on using the changeset viewer.