|
@@ -48,7 +48,7 @@ discard block |
|
|
block discarded – undo |
|
48
|
48
|
* encapsulate your own logic to determine whether the resource has |
|
49
|
49
|
* successfully transitioned. When TRUE is returned by the callback, |
|
50
|
50
|
* the loop will end. |
|
51
|
|
- * @param int|bool $timeout The maximum timeout in seconds. If the total time taken by the waiter has reached |
|
|
51
|
+ * @param integer $timeout The maximum timeout in seconds. If the total time taken by the waiter has reached |
|
52
|
52
|
* or exceed this timeout, the blocking operation will immediately cease. If FALSE |
|
53
|
53
|
* is provided, the timeout will never be considered. |
|
54
|
54
|
* @param int $sleepPeriod The amount of time to pause between each HTTP request. |
|
@@ -73,7 +73,7 @@ discard block |
|
|
block discarded – undo |
|
73
|
73
|
/** |
|
74
|
74
|
* Internal method used to identify whether a timeout has been exceeded. |
|
75
|
75
|
* |
|
76
|
|
- * @param bool|int $timeout |
|
|
76
|
+ * @param integer $timeout |
|
77
|
77
|
* @param int $startTime |
|
78
|
78
|
* |
|
79
|
79
|
* @return bool |
Please login to merge, or discard this patch.