Skip to content

Commit e5074d0

Browse files
Merge pull request #495 from HubSpot/feature/CSFixMaster
CS fix
2 parents 045223d + a8833dd commit e5074d0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/RetryMiddlewareFactory.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)