Docs: First pass at some inline docs fixes mostly made by PHPCBF.
See #49572, #50744 Built from https://develop.svn.wordpress.org/trunk@48586 git-svn-id: http://core.svn.wordpress.org/trunk@48348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -32,8 +32,8 @@ class WP_HTTP_Requests_Hooks extends Requests_Hooks {
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string $url URL to request.
|
||||
* @param array $request Request data in WP_Http format.
|
||||
* @param string $url URL to request.
|
||||
* @param array $request Request data in WP_Http format.
|
||||
*/
|
||||
public function __construct( $url, $request ) {
|
||||
$this->url = $url;
|
||||
@@ -43,8 +43,8 @@ class WP_HTTP_Requests_Hooks extends Requests_Hooks {
|
||||
/**
|
||||
* Dispatch a Requests hook to a native WordPress action.
|
||||
*
|
||||
* @param string $hook Hook name.
|
||||
* @param array $parameters Parameters to pass to callbacks.
|
||||
* @param string $hook Hook name.
|
||||
* @param array $parameters Parameters to pass to callbacks.
|
||||
* @return boolean True if hooks were run, false if nothing was hooked.
|
||||
*/
|
||||
public function dispatch( $hook, $parameters = array() ) {
|
||||
|
||||
Reference in New Issue
Block a user