@@ -66,7 +66,7 @@ |
||
| 66 | 66 | * Create GetEntityResult object from HTTP response parts. |
| 67 | 67 | * |
| 68 | 68 | * @param string $body The HTTP response body. |
| 69 | - * @param IODataReaderWriter $odataSerializer The OData reader and writer. |
|
| 69 | + * @param IODataReaderWriter $serializer The OData reader and writer. |
|
| 70 | 70 | * |
| 71 | 71 | * @internal |
| 72 | 72 | * |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | /** |
| 103 | 103 | * Sets the raw property value. |
| 104 | 104 | * |
| 105 | - * @param mixed $rawValue The raw value of property. |
|
| 105 | + * @param string $rawValue The raw value of property. |
|
| 106 | 106 | * |
| 107 | 107 | * @return void |
| 108 | 108 | */ |
@@ -1492,7 +1492,7 @@ discard block |
||
| 1492 | 1492 | /** |
| 1493 | 1493 | * Does batch of operations on the table service. |
| 1494 | 1494 | * |
| 1495 | - * @param BatchOperations $batchOperations The operations to apply. |
|
| 1495 | + * @param Models\BatchOperations $batchOperations The operations to apply. |
|
| 1496 | 1496 | * @param TableServiceOptions $options The optional parameters. |
| 1497 | 1497 | * |
| 1498 | 1498 | * @return BatchResult |
@@ -1507,7 +1507,7 @@ discard block |
||
| 1507 | 1507 | /** |
| 1508 | 1508 | * Creates promise that does batch of operations on the table service. |
| 1509 | 1509 | * |
| 1510 | - * @param BatchOperations $batchOperations The operations to apply. |
|
| 1510 | + * @param Models\BatchOperations $batchOperations The operations to apply. |
|
| 1511 | 1511 | * @param TableServiceOptions $options The optional parameters. |
| 1512 | 1512 | * |
| 1513 | 1513 | * @return \GuzzleHttp\Promise\PromiseInterface |
@@ -75,6 +75,9 @@ discard block |
||
| 75 | 75 | return $handler; |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | + /** |
|
| 79 | + * @param integer $level |
|
| 80 | + */ |
|
| 78 | 81 | public function registerExceptionHandler($level = null, $callPrevious = true) |
| 79 | 82 | { |
| 80 | 83 | $prev = set_exception_handler(array($this, 'handleException')); |
@@ -95,6 +98,9 @@ discard block |
||
| 95 | 98 | $this->handleOnlyReportedErrors = $handleOnlyReportedErrors; |
| 96 | 99 | } |
| 97 | 100 | |
| 101 | + /** |
|
| 102 | + * @param integer $level |
|
| 103 | + */ |
|
| 98 | 104 | public function registerFatalHandler($level = null, $reservedMemorySize = 20) |
| 99 | 105 | { |
| 100 | 106 | register_shutdown_function(array($this, 'handleFatalError')); |
@@ -72,6 +72,9 @@ discard block |
||
| 72 | 72 | return $record; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | + /** |
|
| 76 | + * @param integer $nestingLevel |
|
| 77 | + */ |
|
| 75 | 78 | protected function formatObject($value, $nestingLevel) |
| 76 | 79 | { |
| 77 | 80 | $objectVars = get_object_vars($value); |
@@ -80,6 +83,9 @@ discard block |
||
| 80 | 83 | return $this->formatArray($objectVars, $nestingLevel); |
| 81 | 84 | } |
| 82 | 85 | |
| 86 | + /** |
|
| 87 | + * @param integer $nestingLevel |
|
| 88 | + */ |
|
| 83 | 89 | protected function formatException(\Exception $exception, $nestingLevel) |
| 84 | 90 | { |
| 85 | 91 | $formattedException = array( |
@@ -98,6 +104,9 @@ discard block |
||
| 98 | 104 | return $this->formatArray($formattedException, $nestingLevel); |
| 99 | 105 | } |
| 100 | 106 | |
| 107 | + /** |
|
| 108 | + * @param integer $nestingLevel |
|
| 109 | + */ |
|
| 101 | 110 | protected function formatDate(\DateTime $value, $nestingLevel) |
| 102 | 111 | { |
| 103 | 112 | return new \MongoDate($value->getTimestamp()); |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | /** |
| 119 | 119 | * Sets minimum logging level at which this handler will be triggered. |
| 120 | 120 | * |
| 121 | - * @param int|string $level Level or level name |
|
| 121 | + * @param integer $level Level or level name |
|
| 122 | 122 | * @return self |
| 123 | 123 | */ |
| 124 | 124 | public function setLevel($level) |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | 73 | * @param int|string|array $minLevelOrList A list of levels to accept or a minimum level or level name if maxLevel is provided |
| 74 | - * @param int|string $maxLevel Maximum level or level name to accept, only used if $minLevelOrList is not an array |
|
| 74 | + * @param integer $maxLevel Maximum level or level name to accept, only used if $minLevelOrList is not an array |
|
| 75 | 75 | */ |
| 76 | 76 | public function setAcceptedLevels($minLevelOrList = Logger::DEBUG, $maxLevel = Logger::EMERGENCY) |
| 77 | 77 | { |
@@ -74,6 +74,9 @@ |
||
| 74 | 74 | } |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | + /** |
|
| 78 | + * @param string $endpoint |
|
| 79 | + */ |
|
| 77 | 80 | protected function send($data, $endpoint) |
| 78 | 81 | { |
| 79 | 82 | $url = sprintf("https://%s/%s/%s/", self::HOST, $endpoint, $this->token); |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | /** |
| 85 | 85 | * Add headers to the message |
| 86 | 86 | * |
| 87 | - * @param string|array $headers Custom added headers |
|
| 87 | + * @param string $headers Custom added headers |
|
| 88 | 88 | * @return self |
| 89 | 89 | */ |
| 90 | 90 | public function addHeader($headers) |