mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Docs: First pass at some inline docs fixes mostly made by PHPCBF.
See #49572, #50744 git-svn-id: https://develop.svn.wordpress.org/trunk@48586 602fd350-edb4-49c9-b593-d223f7449a82
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