Skip to content

Commit

Permalink
lint updates
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Nov 6, 2024
1 parent c38bc54 commit 3787f5a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions includes/HiiveConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class HiiveConnection implements SubscriberInterface {
private $throttled;

/**
* The throttle
* The throttle
*
* @var bool
*/
Expand Down Expand Up @@ -128,7 +128,7 @@ public static function is_connected(): bool {
* @used-by HiiveConnection::reconnect()
*
* @param string $path the path
* @param $authorization the authorization
* @param string $authorization the authorization
* @return Boolean success
*/
public function connect( string $path = '/sites/v2/connect', ?string $authorization = null ): bool {
Expand Down Expand Up @@ -272,6 +272,7 @@ public function send_event( Event $event ) {

/**
* Sample shape.
*
* @var array{data:array{id:string,locations:array,query:string|null,expiration:int,content:string}} $response_payload
* */
$response_payload = json_decode( \wp_remote_retrieve_body( $hiive_response ), true );
Expand Down Expand Up @@ -333,6 +334,7 @@ public function hiive_request( string $path, ?array $payload = array(), ?array $

/**
* Add plugin name/version to user agent
*
* @see \WP_Http::request()
* @see https://developer.wordpress.org/reference/hooks/http_headers_useragent/
*/
Expand Down

0 comments on commit 3787f5a

Please sign in to comment.