Completed
Pull Request — master (#288)
by
unknown
05:42
created
src/Resource/Entry.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     /**
77 77
      * Create a new Entries List instance.
78 78
      *
79
-     * @return \Moip\Resource\EntriesList
79
+     * @return stdClass
80 80
      */
81 81
     public function getList()
82 82
     {
Please login to merge, or discard this patch.
src/Resource/MoipResource.php 1 patch
Doc Comments   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -99,11 +99,11 @@  discard block
 block discarded – undo
99 99
     }
100 100
 
101 101
     /**
102
-     * @param $key
103
-     * @param $fmt
102
+     * @param string $key
103
+     * @param string $fmt
104 104
      * @param stdClass|null $data
105 105
      *
106
-     * @return bool|\DateTime|null
106
+     * @return \DateTime|null
107 107
      */
108 108
     protected function getIfSetDateFmt($key, $fmt, stdClass $data = null)
109 109
     {
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     /**
164 164
      * Generate URL to request.
165 165
      *
166
-     * @param $action
166
+     * @param string $action
167 167
      * @param $id
168 168
      *
169 169
      * @return string
@@ -223,7 +223,6 @@  discard block
 block discarded – undo
223 223
      * @param string     $method  http method
224 224
      * @param mixed|null $payload request body
225 225
      * @param array      $headers request headers
226
-     * @param string     $accept
227 226
      *
228 227
      * @throws Exceptions\ValidationException  if the API returns a 4xx http status code. Usually means invalid data was sent.
229 228
      * @throws Exceptions\UnautorizedException if the API returns a 401 http status code. Check API token and key.
@@ -327,9 +326,9 @@  discard block
 block discarded – undo
327 326
     /**
328 327
      * Delete a new item in Moip.
329 328
      *
330
-     * @param $path
329
+     * @param string $path
331 330
      *
332
-     * @return mixed
331
+     * @return stdClass
333 332
      */
334 333
     public function deleteByPath($path)
335 334
     {
Please login to merge, or discard this patch.
src/Resource/Transfers.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -176,7 +176,8 @@  discard block
 block discarded – undo
176 176
      * Set info of holder.
177 177
      *
178 178
      * @param string $fullname
179
-     * @param int    $taxDocument
179
+     * @param int    $taxDocumentType
180
+     * @param string $taxDocumentNumber
180 181
      *
181 182
      * @return $this
182 183
      */
@@ -244,7 +245,7 @@  discard block
 block discarded – undo
244 245
     /**
245 246
      * Create a new Transfers list instance.
246 247
      *
247
-     * @return \Moip\Resource\TransfersList
248
+     * @return stdClass
248 249
      */
249 250
     public function getList(Pagination $pagination = null, Filters $filters = null, $qParam = '')
250 251
     {
Please login to merge, or discard this patch.