From a8833dd8258f38412bdc7cca3a7ce46264a270ce Mon Sep 17 00:00:00 2001 From: ksvirkou-hubspot Date: Mon, 12 May 2025 17:55:39 +0300 Subject: [PATCH] CS fix --- lib/RetryMiddlewareFactory.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/RetryMiddlewareFactory.php b/lib/RetryMiddlewareFactory.php index d5c6ce34..14423261 100644 --- a/lib/RetryMiddlewareFactory.php +++ b/lib/RetryMiddlewareFactory.php @@ -11,7 +11,7 @@ class RetryMiddlewareFactory public const DEFAULT_MAX_RETRIES = 5; public const INTERNAL_ERROR_RANGES = [ ['from' => 500, 'to' => 503], - ['from' => 520, 'to' => 599] + ['from' => 520, 'to' => 599], ]; public static function createInternalErrorsMiddleware( @@ -53,7 +53,8 @@ public static function createMiddlewareByHttpCodeRange( } /** - * Create middleware by http code ranges + * Create middleware by http code ranges. + * * @param array $ranges [['from' => int, 'to' => int]] */ public static function createMiddlewareByHttpCodeRanges( @@ -68,7 +69,8 @@ public static function createMiddlewareByHttpCodeRanges( } /** - * Get retry function by code ranges + * Get retry function by code ranges. + * * @param array $ranges [['from' => int, 'to' => int]] */ public static function getRetryFunctionByRanges(