Completed
Push — master ( b39695...9f262c )
by Andrey
07:41
created
vendor/microsoft/azure-storage/src/Common/Middlewares/RetryMiddleware.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      * @param  RequestInterface $request the request sent.
64 64
      * @param  array            $options the options that the request sent with.
65 65
      *
66
-     * @return callable
66
+     * @return \Closure
67 67
      */
68 68
     protected function onFulfilled(RequestInterface $request, array $options)
69 69
     {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      * @param  RequestInterface $request the request sent.
107 107
      * @param  array            $options the options that the request sent with.
108 108
      *
109
-     * @return callable
109
+     * @return \Closure
110 110
      */
111 111
     protected function onRejected(RequestInterface $request, array $options)
112 112
     {
Please login to merge, or discard this patch.
microsoft/azure-storage/src/Common/Middlewares/RetryMiddlewareFactory.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      * @param  string $type       The type of the retry handler.
140 140
      * @param  int    $maxRetries The maximum number of retries to be done.
141 141
      *
142
-     * @return callable     The callable that will return if the request should
142
+     * @return \Closure     The callable that will return if the request should
143 143
      *                      be retried.
144 144
      */
145 145
     protected static function createRetryDecider($type, $maxRetries)
@@ -188,6 +188,7 @@  discard block
 block discarded – undo
188 188
      * Decide if the given status code indicate the request should be retried.
189 189
      *
190 190
      * @param  int $statusCode status code of the previous request.
191
+     * @param boolean $isSecondary
191 192
      *
192 193
      * @return bool            true if the request should be retried.
193 194
      */
@@ -232,7 +233,7 @@  discard block
 block discarded – undo
232 233
      *
233 234
      * @param  int $interval the minimum interval of the retry.
234 235
      *
235
-     * @return callable      a calculator that will return the interval
236
+     * @return \Closure      a calculator that will return the interval
236 237
      *                       according to the number of retries.
237 238
      */
238 239
     protected static function createLinearDelayCalculator($interval)
@@ -248,7 +249,7 @@  discard block
 block discarded – undo
248 249
      *
249 250
      * @param  int $interval the minimum interval of the retry.
250 251
      *
251
-     * @return callable      a calculator that will return the interval
252
+     * @return \Closure      a calculator that will return the interval
252 253
      *                       according to the number of retries.
253 254
      */
254 255
     protected static function createExponentialDelayCalculator($interval)
Please login to merge, or discard this patch.
php/vendor/microsoft/azure-storage/src/Common/Models/AccessPolicy.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     /**
91 91
      * Gets start.
92 92
      *
93
-     * @return \DateTime.
93
+     * @return \DateTime|null
94 94
      */
95 95
     public function getStart()
96 96
     {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * Gets expiry.
117 117
      *
118
-     * @return \DateTime.
118
+     * @return \DateTime
119 119
      */
120 120
     public function getExpiry()
121 121
     {
Please login to merge, or discard this patch.
connector/php/vendor/microsoft/azure-storage/src/Common/Models/Logging.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * Gets the retention policy
72 72
      *
73
-     * @return MicrosoftAzure\Storage\Common\Models\RetentionPolicy
73
+     * @return RetentionPolicy
74 74
      *
75 75
      */
76 76
     public function getRetentionPolicy()
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     /**
138 138
      * Gets whether all delete requests should be logged.
139 139
      *
140
-     * @return void
140
+     * @return boolean
141 141
      */
142 142
     public function getDelete()
143 143
     {
Please login to merge, or discard this patch.
php/vendor/microsoft/azure-storage/src/Common/Models/ServiceOptions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
     /**
158 158
      * Sets the middleware stack.
159 159
      *
160
-     * @param MiddlewareStack $middlewareStack value.
160
+     * @param MiddlewareStack $middlwareStack value.
161 161
      *
162 162
      * @return void
163 163
      */
Please login to merge, or discard this patch.
php/vendor/microsoft/azure-storage/src/Common/Models/ServiceProperties.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -134,7 +134,6 @@  discard block
 block discarded – undo
134 134
     /**
135 135
      * Sets hour metrics element.
136 136
      *
137
-     * @param Metrics $metrics new element.
138 137
      *
139 138
      * @return void
140 139
      */
@@ -156,7 +155,7 @@  discard block
 block discarded – undo
156 155
     /**
157 156
      * Sets minute metrics element.
158 157
      *
159
-     * @param Metrics $metrics new element.
158
+     * @param Metrics $minuteMetrics new element.
160 159
      *
161 160
      * @return void
162 161
      */
@@ -202,7 +201,7 @@  discard block
 block discarded – undo
202 201
      *
203 202
      * @param string $defaultServiceVersion the default service version
204 203
      *
205
-     * @return void
204
+     * @return string
206 205
      */
207 206
     public function setDefaultServiceVersion($defaultServiceVersion)
208 207
     {
Please login to merge, or discard this patch.
connector/php/vendor/microsoft/azure-storage/src/File/FileRestProxy.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2240,7 +2240,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
php/vendor/microsoft/azure-storage/src/File/Models/GetFileResult.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
microsoft/azure-storage/src/File/Models/ListDirectoriesAndFilesResult.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.