@@ -179,6 +179,9 @@ |
||
179 | 179 | return $emptyPathUri; |
180 | 180 | } |
181 | 181 | |
182 | + /** |
|
183 | + * @return string |
|
184 | + */ |
|
182 | 185 | private static function getRelativePath(UriInterface $base, UriInterface $target) |
183 | 186 | { |
184 | 187 | $sourceSegments = explode('/', $base->getPath()); |
@@ -513,7 +513,7 @@ |
||
513 | 513 | } |
514 | 514 | |
515 | 515 | /** |
516 | - * @return null|string |
|
516 | + * @return boolean |
|
517 | 517 | */ |
518 | 518 | protected function isPureFtpdServer() |
519 | 519 | { |
@@ -393,6 +393,8 @@ discard block |
||
393 | 393 | * @param string $expectedStatusCode Expected status code. |
394 | 394 | * @param Models\BlobServiceOptions $options Optional parameters. |
395 | 395 | * @param Models\AccessCondition $accessCondition Access conditions. |
396 | + * @param string|null $proposedLeaseId |
|
397 | + * @param integer|null $leaseDuration |
|
396 | 398 | * |
397 | 399 | * @return \GuzzleHttp\Promise\PromiseInterface |
398 | 400 | */ |
@@ -1493,7 +1495,7 @@ discard block |
||
1493 | 1495 | * @param string|resource|StreamInterface $content The content of the blob. |
1494 | 1496 | * @param Models\CreateBlobOptions $options The optional parameters. |
1495 | 1497 | * |
1496 | - * @return Models\PutBlobResult |
|
1498 | + * @return PromiseInterface |
|
1497 | 1499 | * |
1498 | 1500 | * @see http://msdn.microsoft.com/en-us/library/windowsazure/dd179451.aspx |
1499 | 1501 | */ |
@@ -4024,6 +4026,7 @@ discard block |
||
4024 | 4026 | * @param string $container name of the container |
4025 | 4027 | * @param string $blob name of the blob |
4026 | 4028 | * @param Models\BlobServiceOptions $options optional parameters |
4029 | + * @param BlobServiceOptions $breakPeriod |
|
4027 | 4030 | * |
4028 | 4031 | * @return \GuzzleHttp\Promise\PromiseInterface |
4029 | 4032 | * |
@@ -4056,7 +4059,7 @@ discard block |
||
4056 | 4059 | * Adds optional header to headers if set |
4057 | 4060 | * |
4058 | 4061 | * @param array $headers The array of request headers. |
4059 | - * @param Models\AccessCondition $accessCondition The access condition object. |
|
4062 | + * @param Models\AccessCondition $accessConditions The access condition object. |
|
4060 | 4063 | * |
4061 | 4064 | * @return array |
4062 | 4065 | */ |
@@ -4090,7 +4093,7 @@ discard block |
||
4090 | 4093 | * Adds optional header to headers if set |
4091 | 4094 | * |
4092 | 4095 | * @param array $headers The array of request headers. |
4093 | - * @param array $accessCondition The access condition object. |
|
4096 | + * @param array $accessConditions The access condition object. |
|
4094 | 4097 | * |
4095 | 4098 | * @return array |
4096 | 4099 | */ |
@@ -46,7 +46,6 @@ |
||
46 | 46 | use MicrosoftAzure\Storage\Blob\Models\BlobType; |
47 | 47 | use MicrosoftAzure\Storage\Blob\Models\Block; |
48 | 48 | use MicrosoftAzure\Storage\Blob\Models\CreateBlobOptions; |
49 | -use MicrosoftAzure\Storage\Blob\Models\BlobProperties; |
|
50 | 49 | use MicrosoftAzure\Storage\Blob\Models\GetBlobPropertiesOptions; |
51 | 50 | use MicrosoftAzure\Storage\Blob\Models\GetBlobPropertiesResult; |
52 | 51 | use MicrosoftAzure\Storage\Blob\Models\SetBlobPropertiesOptions; |
@@ -26,7 +26,6 @@ |
||
26 | 26 | |
27 | 27 | use MicrosoftAzure\Storage\Common\Internal\Resources; |
28 | 28 | use MicrosoftAzure\Storage\Common\Internal\Validate; |
29 | -use MicrosoftAzure\Storage\Common\Internal\WindowsAzureUtilities; |
|
30 | 29 | |
31 | 30 | /** |
32 | 31 | * Represents a set of access conditions to be used for operations against the |
@@ -56,7 +56,7 @@ |
||
56 | 56 | /** |
57 | 57 | * Sets source access condition |
58 | 58 | * |
59 | - * @param array $sourceAccessCondition value to use. |
|
59 | + * @param array $sourceAccessConditions value to use. |
|
60 | 60 | * |
61 | 61 | * @return void |
62 | 62 | */ |
@@ -24,8 +24,6 @@ |
||
24 | 24 | |
25 | 25 | namespace MicrosoftAzure\Storage\Blob\Models; |
26 | 26 | |
27 | -use MicrosoftAzure\Storage\Common\Internal\Validate; |
|
28 | - |
|
29 | 27 | /** |
30 | 28 | * optional parameters for CopyBlobOptions wrapper |
31 | 29 | * |
@@ -122,7 +122,7 @@ |
||
122 | 122 | /** |
123 | 123 | * Sets copy status |
124 | 124 | * |
125 | - * @param string $status the copy status. |
|
125 | + * @param string $copystatus the copy status. |
|
126 | 126 | * |
127 | 127 | * @internal |
128 | 128 | * |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | /** |
67 | 67 | * Gets blob deleteSnaphotsOnly. |
68 | 68 | * |
69 | - * @return boolean |
|
69 | + * @return string |
|
70 | 70 | */ |
71 | 71 | public function getDeleteSnaphotsOnly() |
72 | 72 | { |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | * |
79 | 79 | * @param string $deleteSnaphotsOnly value. |
80 | 80 | * |
81 | - * @return boolean |
|
81 | + * @return boolean|null |
|
82 | 82 | */ |
83 | 83 | public function setDeleteSnaphotsOnly($deleteSnaphotsOnly) |
84 | 84 | { |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | /** |
116 | 116 | * Gets blob contentStream. |
117 | 117 | * |
118 | - * @return \resource |
|
118 | + * @return resource |
|
119 | 119 | */ |
120 | 120 | public function getContentStream() |
121 | 121 | { |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | /** |
126 | 126 | * Sets blob 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 | */ |
@@ -25,7 +25,6 @@ |
||
25 | 25 | namespace MicrosoftAzure\Storage\Blob\Models; |
26 | 26 | |
27 | 27 | use MicrosoftAzure\Storage\Blob\Models\BlobProperties; |
28 | -use MicrosoftAzure\Storage\Common\Internal\Utilities; |
|
29 | 28 | use Psr\Http\Message\StreamInterface; |
30 | 29 | |
31 | 30 | /** |
@@ -25,8 +25,6 @@ |
||
25 | 25 | namespace MicrosoftAzure\Storage\Blob\Models; |
26 | 26 | |
27 | 27 | use MicrosoftAzure\Storage\Common\Internal\Validate; |
28 | -use MicrosoftAzure\Storage\Common\MarkerContinuationTokenTrait; |
|
29 | -use MicrosoftAzure\Storage\Blob\Models\BlobContinuationToken; |
|
30 | 28 | use MicrosoftAzure\Storage\Blob\Models\BlobContinuationTokenTrait; |
31 | 29 | |
32 | 30 | /** |