Completed
Pull Request — master (#41)
by
unknown
02:07
created
src/Resource/MoipResource.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
      */
199 199
     public function getByPath($path)
200 200
     {
201
-        $response = $this->httpRequest($path,HTTPRequest::GET);
201
+        $response = $this->httpRequest($path, HTTPRequest::GET);
202 202
         return $this->populate($response);
203 203
     }
204 204
 
Please login to merge, or discard this 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/ValidationException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     {
73 73
         $template = "[$this->statusMessage] The following errors ocurred:\n%s";
74 74
         $temp_list = "";
75
-        foreach ($this->errors as $error){
75
+        foreach ($this->errors as $error) {
76 76
             $path = $error->getPath();
77 77
             $desc = $error->getDescription();
78 78
 
Please login to merge, or discard this patch.