@@ -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 | */ |
@@ -25,8 +25,6 @@ |
||
25 | 25 | namespace MicrosoftAzure\Storage\Table\Models; |
26 | 26 | |
27 | 27 | use MicrosoftAzure\Storage\Table\Models\EdmType; |
28 | -use MicrosoftAzure\Storage\Common\Internal\Validate; |
|
29 | -use MicrosoftAzure\Storage\Tests\Unit\Table\Models\EdmTypeTest; |
|
30 | 28 | |
31 | 29 | /** |
32 | 30 | * Represents entity property. |
@@ -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 |
@@ -26,7 +26,6 @@ discard block |
||
26 | 26 | |
27 | 27 | use MicrosoftAzure\Storage\Common\Internal\ServiceRestTrait; |
28 | 28 | use MicrosoftAzure\Storage\Common\Internal\Resources; |
29 | -use MicrosoftAzure\Storage\Common\Internal\Utilities; |
|
30 | 29 | use MicrosoftAzure\Storage\Common\Internal\Validate; |
31 | 30 | use MicrosoftAzure\Storage\Common\Internal\Http\HttpCallContext; |
32 | 31 | use MicrosoftAzure\Storage\Common\Internal\ServiceRestProxy; |
@@ -34,7 +33,6 @@ discard block |
||
34 | 33 | use MicrosoftAzure\Storage\Table\Internal\ITable; |
35 | 34 | use MicrosoftAzure\Storage\Table\Models\TableServiceOptions; |
36 | 35 | use MicrosoftAzure\Storage\Table\Models\EdmType; |
37 | -use MicrosoftAzure\Storage\Table\Models\Filters; |
|
38 | 36 | use MicrosoftAzure\Storage\Table\Models\Entity; |
39 | 37 | use MicrosoftAzure\Storage\Table\Models\Query; |
40 | 38 | use MicrosoftAzure\Storage\Table\Models\Filters\Filter; |
@@ -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) |
@@ -212,7 +212,7 @@ |
||
212 | 212 | /** |
213 | 213 | * Gets extra parameters supported by Raven that can be found in "extra" and "context" |
214 | 214 | * |
215 | - * @return array |
|
215 | + * @return string[] |
|
216 | 216 | */ |
217 | 217 | protected function getExtraParameters() |
218 | 218 | { |