Resolved some error in documentation
This commit is contained in:
Родитель
3f49c1ef5e
Коммит
f5fbc05243
|
@ -47,6 +47,12 @@ class Block
|
|||
*/
|
||||
private $_type;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string $blockId The ID of this block.
|
||||
* @param string $type The type of the block.
|
||||
*/
|
||||
public function __construct($blockId = '', $type = '')
|
||||
{
|
||||
$this->_blockId = $blockId;
|
||||
|
|
|
@ -124,7 +124,8 @@ class RetryMiddlewareFactory
|
|||
* that accepts the number of retries, the request, the response and the
|
||||
* exception, and return the decision for a retry.
|
||||
*
|
||||
* @param string $type The type of the retry handler.
|
||||
* @param string $type The type of the retry handler.
|
||||
* @param int $maxRetries The maximum number of retries to be done.
|
||||
*
|
||||
* @return callable The callable that will return if the request should
|
||||
* be retried.
|
||||
|
|
|
@ -125,7 +125,7 @@ class Metrics
|
|||
/**
|
||||
* Sets include APIs.
|
||||
*
|
||||
* @param $bool $includeAPIs value to use.
|
||||
* @param bool $includeAPIs value to use.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче