@@ -2240,7 +2240,7 @@ discard block |
||
2240 | 2240 | * create the file |
2241 | 2241 | * @param CreateFileOptions|null $options optional parameters |
2242 | 2242 | * |
2243 | - * @return void |
|
2243 | + * @return \GuzzleHttp\Promise\PromiseInterface |
|
2244 | 2244 | */ |
2245 | 2245 | public function createFileFromContentAsync( |
2246 | 2246 | $share, |
@@ -2646,7 +2646,7 @@ discard block |
||
2646 | 2646 | * @param string $copyID copy operation identifier. |
2647 | 2647 | * @param FileServiceOptions|null $options optional parameters |
2648 | 2648 | * |
2649 | - * @return void |
|
2649 | + * @return \GuzzleHttp\Promise\PromiseInterface |
|
2650 | 2650 | * |
2651 | 2651 | * @see https://docs.microsoft.com/en-us/rest/api/storageservices/abort-copy-file |
2652 | 2652 | */ |
@@ -125,7 +125,7 @@ |
||
125 | 125 | /** |
126 | 126 | * Sets file contentStream. |
127 | 127 | * |
128 | - * @param \resource $contentStream The stream handle. |
|
128 | + * @param resource|null $contentStream The stream handle. |
|
129 | 129 | * |
130 | 130 | * @return void |
131 | 131 | */ |
@@ -59,7 +59,7 @@ |
||
59 | 59 | * |
60 | 60 | * @internal |
61 | 61 | * |
62 | - * @return ListSharesResult |
|
62 | + * @return ListDirectoriesAndFilesResult |
|
63 | 63 | */ |
64 | 64 | public static function create(array $parsedResponse, $location = '') |
65 | 65 | { |
@@ -106,7 +106,7 @@ |
||
106 | 106 | /** |
107 | 107 | * Indicates if metadata is included or not. |
108 | 108 | * |
109 | - * @return string |
|
109 | + * @return boolean |
|
110 | 110 | */ |
111 | 111 | public function getIncludeMetadata() |
112 | 112 | { |
@@ -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 | */ |
@@ -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')); |