Completed
Push — master ( 716d8c...8ec37f )
by John
01:28
created
src/authnet/AuthnetJsonResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
     {
132 132
         $output  = '';
133 133
         $output .= '<table summary="Authorize.Net Response" id="authnet-response">'."\n";
134
-        $output .= '<tr>'."\n\t\t" . '<th colspan="2"><b>Response JSON</b></th>'."\n".'</tr>'."\n";
134
+        $output .= '<tr>'."\n\t\t".'<th colspan="2"><b>Response JSON</b></th>'."\n".'</tr>'."\n";
135 135
         $output .= '<tr><td colspan="2"><pre>'."\n";
136 136
         $output .= $this->responseJson."\n";
137 137
         $output .= '</pre></td></tr>'."\n";
Please login to merge, or discard this patch.
src/authnet/AuthnetJsonRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
         $output .= '<tr>'."\n\t\t".'<th colspan="2"><b>Class Parameters</b></th>'."\n".'</tr>'."\n";
110 110
         $output .= '<tr>'."\n\t\t".'<td><b>API Login ID</b></td><td>'.$this->login.'</td>'."\n".'</tr>'."\n";
111 111
         $output .= '<tr>'."\n\t\t".'<td><b>Transaction Key</b></td><td>'.$this->transactionKey.'</td>'."\n".'</tr>'."\n";
112
-        $output .= '<tr>'."\n\t\t".'<td><b>Authnet Server URL</b></td><td>'.$this->url . '</td>'."\n".'</tr>'."\n";
112
+        $output .= '<tr>'."\n\t\t".'<td><b>Authnet Server URL</b></td><td>'.$this->url.'</td>'."\n".'</tr>'."\n";
113 113
         $output .= '<tr>'."\n\t\t".'<th colspan="2"><b>Request JSON</b></th>'."\n".'</tr>'."\n";
114 114
         if (!empty($this->requestJson)) {
115 115
             $output .= '<tr><td colspan="2"><pre>'."\n";
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     {
172 172
         $this->processor->post($this->url, $this->requestJson);
173 173
 
174
-        if(!$this->processor->error) {
174
+        if (!$this->processor->error) {
175 175
             return $this->processor->response;
176 176
         }
177 177
         $error_message = null;
Please login to merge, or discard this patch.
src/authnet/AuthnetWebhooksResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     {
57 57
         $output  = '';
58 58
         $output .= '<table summary="Authorize.Net Webhooks Response" id="authnet-response">'."\n";
59
-        $output .= '<tr>' . "\n\t\t" . '<th colspan="2"><b>Response JSON</b></th>'."\n".'</tr>'."\n";
59
+        $output .= '<tr>'."\n\t\t".'<th colspan="2"><b>Response JSON</b></th>'."\n".'</tr>'."\n";
60 60
         $output .= '<tr><td colspan="2"><pre>'."\n";
61 61
         $output .= $this->responseJson."\n";
62 62
         $output .= '</pre></td></tr>'."\n";
Please login to merge, or discard this patch.
src/authnet/AuthnetWebhooksRequest.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -62,17 +62,17 @@  discard block
 block discarded – undo
62 62
     public function __toString()
63 63
     {
64 64
         $output  = '';
65
-        $output .= '<table summary="Authorize.Net Request" id="authnet-request">' . "\n";
66
-        $output .= '<tr>' . "\n\t\t" . '<th colspan="2"><b>Class Parameters</b></th>' . "\n" . '</tr>' . "\n";
67
-        $output .= '<tr>' . "\n\t\t" . '<td><b>Authnet Server URL</b></td><td>' . $this->url . '</td>' . "\n" . '</tr>' . "\n";
68
-        $output .= '<tr>' . "\n\t\t" . '<th colspan="2"><b>Request JSON</b></th>' . "\n" . '</tr>' . "\n";
65
+        $output .= '<table summary="Authorize.Net Request" id="authnet-request">'."\n";
66
+        $output .= '<tr>'."\n\t\t".'<th colspan="2"><b>Class Parameters</b></th>'."\n".'</tr>'."\n";
67
+        $output .= '<tr>'."\n\t\t".'<td><b>Authnet Server URL</b></td><td>'.$this->url.'</td>'."\n".'</tr>'."\n";
68
+        $output .= '<tr>'."\n\t\t".'<th colspan="2"><b>Request JSON</b></th>'."\n".'</tr>'."\n";
69 69
         if (!empty($this->requestJson)) {
70
-            $output .= '<tr><td colspan="2"><pre>' . "\n";
71
-            $output .= $this->requestJson . "\n";
72
-            $output .= '</pre></td></tr>' . "\n";
70
+            $output .= '<tr><td colspan="2"><pre>'."\n";
71
+            $output .= $this->requestJson."\n";
72
+            $output .= '</pre></td></tr>'."\n";
73 73
         }
74 74
         else {
75
-            $output .= '<tr><td colspan="2" style="text-align: center;"><pre>N/A</pre></td></tr>' . "\n";
75
+            $output .= '<tr><td colspan="2" style="text-align: center;"><pre>N/A</pre></td></tr>'."\n";
76 76
         }
77 77
         $output .= '</table>';
78 78
 
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
      */
227 227
     private function handleResponse()
228 228
     {
229
-        if(!$this->processor->error) {
229
+        if (!$this->processor->error) {
230 230
             return $this->processor->response;
231 231
         }
232 232
         $error_message = null;
Please login to merge, or discard this patch.