Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesryanbell authored and StyleCIBot committed Feb 27, 2017
1 parent 1ed918f commit daef8a8
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 52 deletions.
60 changes: 30 additions & 30 deletions src/CloudFlare/Organizations/LoadBalancers/Monitors.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@ public function monitors($organization_identifier)
* Create a configured monitor
*
* @param string $organization_identifier
* @param string $expected_body A case-insensitive substring to match in the body of the probe
* response to declare an origin as up
* @param string $expected_codes The expected HTTP response code or code range for the probe
* @param string|null $method The HTTP method to use for the health check.
* @param int|null $timeout The timeout (in seconds) before marking the health check as failed
* @param string|null $path The endpoint path to health check against.
* @param int|null $interval The interval between each health check. Shorter intervals may improve failover
* time, but will increase load on the origins as we check from multiple locations.
* @param int|null $retries The number of retries to attempt in case of a timeout before marking the origin
* as unhealthy. Retries are attempted immediately.
* @param array|null $header The HTTP request headers to send in the health check. It is recommended you set
* a Host header by default. The User-Agent header cannot be overridden.
* @param int|null $type The protocol to use for the healthcheck. Currently supported protocols are
* 'HTTP' and 'HTTPS'.
* @param string|null $description Object description
* @param string $expected_body A case-insensitive substring to match in the body of the probe
* response to declare an origin as up
* @param string $expected_codes The expected HTTP response code or code range for the probe
* @param string|null $method The HTTP method to use for the health check.
* @param int|null $timeout The timeout (in seconds) before marking the health check as failed
* @param string|null $path The endpoint path to health check against.
* @param int|null $interval The interval between each health check. Shorter intervals may improve failover
* time, but will increase load on the origins as we check from multiple locations.
* @param int|null $retries The number of retries to attempt in case of a timeout before marking the origin
* as unhealthy. Retries are attempted immediately.
* @param array|null $header The HTTP request headers to send in the health check. It is recommended you set
* a Host header by default. The User-Agent header cannot be overridden.
* @param int|null $type The protocol to use for the healthcheck. Currently supported protocols are
* 'HTTP' and 'HTTPS'.
* @param string|null $description Object description
*/
public function create($organization_identifier, $expected_body, $expected_codes, $method = null, $timeout = null, $path = null, $interval = null, $retries = null, $header = null, $type = null, $description = null)
{
Expand Down Expand Up @@ -85,21 +85,21 @@ public function details($organization_identifier, $identifier)
*
* @param string $organization_identifier
* @param string $identifier
* @param string $expected_body A case-insensitive substring to match in the body of the probe
* response to declare an origin as up
* @param string $expected_codes The expected HTTP response code or code range for the probe
* @param string|null $method The HTTP method to use for the health check.
* @param int|null $timeout The timeout (in seconds) before marking the health check as failed
* @param string|null $path The endpoint path to health check against.
* @param int|null $interval The interval between each health check. Shorter intervals may improve failover
* time, but will increase load on the origins as we check from multiple locations.
* @param int|null $retries The number of retries to attempt in case of a timeout before marking the origin
* as unhealthy. Retries are attempted immediately.
* @param array|null $header The HTTP request headers to send in the health check. It is recommended you set
* a Host header by default. The User-Agent header cannot be overridden.
* @param int|null $type The protocol to use for the healthcheck. Currently supported protocols are
* 'HTTP' and 'HTTPS'.
* @param string|null $description Object description
* @param string $expected_body A case-insensitive substring to match in the body of the probe
* response to declare an origin as up
* @param string $expected_codes The expected HTTP response code or code range for the probe
* @param string|null $method The HTTP method to use for the health check.
* @param int|null $timeout The timeout (in seconds) before marking the health check as failed
* @param string|null $path The endpoint path to health check against.
* @param int|null $interval The interval between each health check. Shorter intervals may improve failover
* time, but will increase load on the origins as we check from multiple locations.
* @param int|null $retries The number of retries to attempt in case of a timeout before marking the origin
* as unhealthy. Retries are attempted immediately.
* @param array|null $header The HTTP request headers to send in the health check. It is recommended you set
* a Host header by default. The User-Agent header cannot be overridden.
* @param int|null $type The protocol to use for the healthcheck. Currently supported protocols are
* 'HTTP' and 'HTTPS'.
* @param string|null $description Object description
*/
public function update($organization_identifier, $identifier, $expected_body, $expected_codes, $method = null, $timeout = null, $path = null, $interval = null, $retries = null, $header = null, $type = null, $description = null)
{
Expand Down
44 changes: 22 additions & 22 deletions src/CloudFlare/Organizations/LoadBalancers/Pools.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ public function pools($organization_identifier)
* Create a new pool
*
* @param string $organization_identifier
* @param string $name Object name
* @param array $origins A list of origins contained in the pool.
* Traffic destined to the pool is balanced across all
* available origins contained in the pool (as long as the pool
* is considered available).
* @param string|null $description Object description
* @param bool|null $enabled Whether this pool is enabled or not.
* @param string|null $monitor ID of the monitor object to use for monitoring the health
* status of origins inside this pool.
* @param string|null $notification_email ID of the notifier object to use for notifications relating
* to the health status of origins inside this pool.
* @param string $name Object name
* @param array $origins A list of origins contained in the pool.
* Traffic destined to the pool is balanced across all
* available origins contained in the pool (as long as the pool
* is considered available).
* @param string|null $description Object description
* @param bool|null $enabled Whether this pool is enabled or not.
* @param string|null $monitor ID of the monitor object to use for monitoring the health
* status of origins inside this pool.
* @param string|null $notification_email ID of the notifier object to use for notifications relating
* to the health status of origins inside this pool.
*/
public function create($organization_identifier, $name, $origins, $description = null, $enabled = null, $monitor = null, $notification_email = null)
{
Expand Down Expand Up @@ -77,17 +77,17 @@ public function details($organization_identifier, $identifier)
*
* @param string $organization_identifier
* @param string $identifier
* @param string $name Object name
* @param array $origins A list of origins contained in the pool.
* Traffic destined to the pool is balanced across all
* available origins contained in the pool (as long as the pool
* is considered available).
* @param string|null $description Object description
* @param bool|null $enabled Whether this pool is enabled or not.
* @param string|null $monitor ID of the monitor object to use for monitoring the health
* status of origins inside this pool.
* @param string|null $notification_email ID of the notifier object to use for notifications relating
* to the health status of origins inside this pool.
* @param string $name Object name
* @param array $origins A list of origins contained in the pool.
* Traffic destined to the pool is balanced across all
* available origins contained in the pool (as long as the pool
* is considered available).
* @param string|null $description Object description
* @param bool|null $enabled Whether this pool is enabled or not.
* @param string|null $monitor ID of the monitor object to use for monitoring the health
* status of origins inside this pool.
* @param string|null $notification_email ID of the notifier object to use for notifications relating
* to the health status of origins inside this pool.
*/
public function update($organization_identifier, $identifier, $name, $origins, $description = null, $enabled = null, $monitor = null, $notification_email = null)
{
Expand Down

0 comments on commit daef8a8

Please sign in to comment.