mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 23:27:04 +00:00
Docs: Standardise the type name for booleans and integers.
This brings these docs inline with the documentation standards. Props ravipatel, justinahinon Fixes #51426 git-svn-id: https://develop.svn.wordpress.org/trunk@49120 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -23,13 +23,13 @@ class WP_SimplePie_File extends SimplePie_File {
|
||||
* @since 3.2.0 Updated to use a PHP5 constructor.
|
||||
*
|
||||
* @param string $url Remote file URL.
|
||||
* @param integer $timeout Optional. How long the connection should stay open in seconds.
|
||||
* @param int $timeout Optional. How long the connection should stay open in seconds.
|
||||
* Default 10.
|
||||
* @param integer $redirects Optional. The number of allowed redirects. Default 5.
|
||||
* @param int $redirects Optional. The number of allowed redirects. Default 5.
|
||||
* @param string|array $headers Optional. Array or string of headers to send with the request.
|
||||
* Default null.
|
||||
* @param string $useragent Optional. User-agent value sent. Default null.
|
||||
* @param boolean $force_fsockopen Optional. Whether to force opening internet or unix domain socket
|
||||
* @param bool $force_fsockopen Optional. Whether to force opening internet or unix domain socket
|
||||
* connection or not. Default false.
|
||||
*/
|
||||
public function __construct( $url, $timeout = 10, $redirects = 5, $headers = null, $useragent = null, $force_fsockopen = false ) {
|
||||
|
||||
Reference in New Issue
Block a user