Completed
Pull Request — master (#69)
by
unknown
06:54
created
src/Resource/Orders.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
     /**
167 167
      * Create a new order in MoIP.
168 168
      *
169
-     * @return Orders
169
+     * @return stdClass
170 170
      */
171 171
     public function create()
172 172
     {
Please login to merge, or discard this patch.
src/Resource/MoipResource.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@
 block discarded – undo
74 74
         }
75 75
     }
76 76
 
77
+    /**
78
+     * @param string $key
79
+     */
77 80
     protected function getIfSetDateFmt($key, $fmt, stdClass $data = null)
78 81
     {
79 82
         $val = $this->getIfSet($key, $data);
Please login to merge, or discard this patch.
src/MoipOAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      *
38 38
      * @param \Requests_Hooks $hooks Hook system
39 39
      */
40
-    public function register(Requests_Hooks &$hooks)
40
+    public function register(Requests_Hooks & $hooks)
41 41
     {
42 42
         $hooks->register('requests.before_request', [&$this, 'before_request']);
43 43
     }
Please login to merge, or discard this patch.
src/Resource/Payment.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -154,15 +154,15 @@
 block discarded – undo
154 154
         return $refund;
155 155
     }
156 156
 	
157
-	/**
158
-	 * Get payment status.
159
-	 *
160
-	 * @return string Payment status. Possible values CREATED, WAITING, IN_ANALYSIS, PRE_AUTHORIZED, AUTHORIZED, CANCELLED, REFUNDED, REVERSED, SETTLED
161
-	 */
162
-	public function getStatus()
163
-	{
164
-		return $this->getIfSet('status');
165
-	}
157
+    /**
158
+     * Get payment status.
159
+     *
160
+     * @return string Payment status. Possible values CREATED, WAITING, IN_ANALYSIS, PRE_AUTHORIZED, AUTHORIZED, CANCELLED, REFUNDED, REVERSED, SETTLED
161
+     */
162
+    public function getStatus()
163
+    {
164
+        return $this->getIfSet('status');
165
+    }
166 166
 
167 167
     /**
168 168
      * get creation time.
Please login to merge, or discard this patch.
src/MoipBasicAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      *
47 47
      * @param \Requests_Hooks $hooks Hook system
48 48
      */
49
-    public function register(Requests_Hooks &$hooks)
49
+    public function register(Requests_Hooks & $hooks)
50 50
     {
51 51
         $hooks->register('requests.before_request', [&$this, 'before_request']);
52 52
     }
Please login to merge, or discard this patch.