Make WordPress Core


Ignore:
Timestamp:
05/24/2015 05:39:47 AM (9 years ago)
Author:
wonderboymusic
Message:

Use void instead of null where appropriate when pipe-delimiting @return types. If a @return only contains void, remove it.

See #32444.

File:
1 edited

Legend:

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

    r32542 r32568  
    130130     * @access public
    131131     *
    132      * @return bool|null Returns null if preview() has not been called yet.
     132     * @return bool|void If preview() has been called.
    133133     */
    134134    public function is_current_blog_previewed() {
     
    236236     * @since 3.4.0
    237237     *
    238      * @return false|null False if cap check fails or value isn't set.
     238     * @return false|void False if cap check fails or value isn't set.
    239239     */
    240240    final public function save() {
     
    462462     * @param $keys
    463463     * @param bool $create Default is false.
    464      * @return null|array Keys are 'root', 'node', and 'key'.
     464     * @return array|void Keys are 'root', 'node', and 'key'.
    465465     */
    466466    final protected function multidimensional( &$root, $keys, $create = false ) {
Note: See TracChangeset for help on using the changeset viewer.