File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class RetryMiddlewareFactory
1111 public const DEFAULT_MAX_RETRIES = 5 ;
1212 public const INTERNAL_ERROR_RANGES = [
1313 ['from ' => 500 , 'to ' => 503 ],
14- ['from ' => 520 , 'to ' => 599 ]
14+ ['from ' => 520 , 'to ' => 599 ],
1515 ];
1616
1717 public static function createInternalErrorsMiddleware (
@@ -53,7 +53,8 @@ public static function createMiddlewareByHttpCodeRange(
5353 }
5454
5555 /**
56- * Create middleware by http code ranges
56+ * Create middleware by http code ranges.
57+ *
5758 * @param array $ranges [['from' => int, 'to' => int]]
5859 */
5960 public static function createMiddlewareByHttpCodeRanges (
@@ -68,7 +69,8 @@ public static function createMiddlewareByHttpCodeRanges(
6869 }
6970
7071 /**
71- * Get retry function by code ranges
72+ * Get retry function by code ranges.
73+ *
7274 * @param array $ranges [['from' => int, 'to' => int]]
7375 */
7476 public static function getRetryFunctionByRanges (
You can’t perform that action at this time.
0 commit comments