Completed
Pull Request — master (#41)
by
unknown
02:21
created
src/Resource/MoipResource.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@  discard block
 block discarded – undo
85 85
         return;
86 86
     }
87 87
 
88
+    /**
89
+     * @param string $key
90
+     */
88 91
     protected function getIfSetDateFmt($key, $fmt, stdClass $data = null)
89 92
     {
90 93
         $val = $this->getIfSet($key, $data);
@@ -137,7 +140,7 @@  discard block
 block discarded – undo
137 140
      * Execute a http request. If payload == null no body will be sent. Empty body ('{}') is supported by sending a
138 141
      * empty stdClass.
139 142
      *
140
-     * @param            $path
143
+     * @param            string $path
141 144
      * @param            $method
142 145
      * @param mixed|null $payload
143 146
      *
Please login to merge, or discard this patch.
src/Exceptions/Error.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      *
78 78
      * @return Error[]
79 79
      */
80
-    static public function parseErrors($json_string){
80
+    static public function parseErrors($json_string) {
81 81
         $error_obj = json_decode($json_string);
82 82
         $errors = [];
83 83
         if (!empty($error_obj->errors)) {
Please login to merge, or discard this patch.