Completed
Pull Request — master (#279)
by
unknown
06:44
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.