WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/27/2015 01:02:12 AM (7 years ago)
Author:
wonderboymusic
Message:

For doc block types, favor bool over the few remaining booleans

See #32444.

File:
1 edited

Legend:

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

    r32712 r32964  
    12561256     * @since 3.7.0 Combined with the fsockopen transport and switched to stream_socket_client().
    12571257     *
    1258      * @return boolean False means this class can not be used, true means it can.
     1258     * @return bool False means this class can not be used, true means it can.
    12591259     */
    12601260    public static function test( $args = array() ) {
     
    16351635     * @since 2.7.0
    16361636     *
    1637      * @return boolean False means this class can not be used, true means it can.
     1637     * @return bool False means this class can not be used, true means it can.
    16381638     */
    16391639    public static function test( $args = array() ) {
     
    20102010     *
    20112011     * @param string $url URL you intend to send this cookie to
    2012      * @return boolean true if allowed, false otherwise.
     2012     * @return bool true if allowed, false otherwise.
    20132013     */
    20142014    public function test( $url ) {
Note: See TracChangeset for help on using the changeset viewer.