@@ -29,8 +29,6 @@ |
||
| 29 | 29 | use MicrosoftAzure\Storage\Common\Internal\Validate; |
| 30 | 30 | use MicrosoftAzure\Storage\Common\Internal\Utilities; |
| 31 | 31 | use MicrosoftAzure\Storage\Common\Internal\ServiceRestProxy; |
| 32 | -use MicrosoftAzure\Storage\Common\Models\GetServicePropertiesResult; |
|
| 33 | -use MicrosoftAzure\Storage\Common\Models\ServiceProperties; |
|
| 34 | 32 | use MicrosoftAzure\Storage\Common\LocationMode; |
| 35 | 33 | use MicrosoftAzure\Storage\Queue\Internal\IQueue; |
| 36 | 34 | use MicrosoftAzure\Storage\Queue\Models\ListQueuesOptions; |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | |
| 25 | 25 | namespace MicrosoftAzure\Storage\Table\Internal; |
| 26 | 26 | |
| 27 | -use MicrosoftAzure\Storage\Common\Internal\Utilities; |
|
| 28 | 27 | use MicrosoftAzure\Storage\Common\Internal\Resources; |
| 29 | 28 | use MicrosoftAzure\Storage\Table\Models\EdmType; |
| 30 | 29 | use MicrosoftAzure\Storage\Table\Models\Entity; |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | use MicrosoftAzure\Storage\Common\Internal\Resources; |
| 28 | 28 | use MicrosoftAzure\Storage\Common\Internal\Utilities; |
| 29 | 29 | use MicrosoftAzure\Storage\Common\Internal\Http\HttpFormatter; |
| 30 | -use MicrosoftAzure\Storage\Common\Exceptions\ServiceException; |
|
| 31 | 30 | use MicrosoftAzure\Storage\Common\Internal\ServiceRestProxy; |
| 32 | 31 | use MicrosoftAzure\Storage\Table\Models\InsertEntityResult; |
| 33 | 32 | use MicrosoftAzure\Storage\Table\Models\UpdateEntityResult; |
@@ -198,7 +198,7 @@ |
||
| 198 | 198 | * Serializes EDM value into proper value to be used in query. |
| 199 | 199 | * |
| 200 | 200 | * @param string $type The EDM type. |
| 201 | - * @param mixed $value The EDM value. |
|
| 201 | + * @param string $value The EDM value. |
|
| 202 | 202 | * |
| 203 | 203 | * @internal |
| 204 | 204 | * |
@@ -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 | */ |
@@ -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')); |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | * Formats a log record. |
| 80 | 80 | * |
| 81 | 81 | * @param array $record A record to format |
| 82 | - * @return mixed The formatted record |
|
| 82 | + * @return string The formatted record |
|
| 83 | 83 | */ |
| 84 | 84 | public function format(array $record) |
| 85 | 85 | { |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | * Formats a set of log records. |
| 114 | 114 | * |
| 115 | 115 | * @param array $records A set of records to format |
| 116 | - * @return mixed The formatted set of records |
|
| 116 | + * @return string The formatted set of records |
|
| 117 | 117 | */ |
| 118 | 118 | public function formatBatch(array $records) |
| 119 | 119 | { |
@@ -125,6 +125,9 @@ discard block |
||
| 125 | 125 | return $message; |
| 126 | 126 | } |
| 127 | 127 | |
| 128 | + /** |
|
| 129 | + * @return string |
|
| 130 | + */ |
|
| 128 | 131 | protected function convertToString($data) |
| 129 | 132 | { |
| 130 | 133 | if (null === $data || is_scalar($data)) { |