@@ -90,7 +90,7 @@ discard block  | 
                                                    ||
| 90 | 90 | */  | 
                                                        
| 91 | 91 | public function getTime()  | 
                                                        
| 92 | 92 |      { | 
                                                        
| 93 | -        return date('c', strtotime($this->data['transaction_date'] . ' EDT')); | 
                                                        |
| 93 | +        return date('c', strtotime($this->data['transaction_date'].' EDT')); | 
                                                        |
| 94 | 94 | }  | 
                                                        
| 95 | 95 | |
| 96 | 96 | /**  | 
                                                        
@@ -120,7 +120,7 @@ discard block  | 
                                                    ||
| 120 | 120 | */  | 
                                                        
| 121 | 121 | public function getPayer()  | 
                                                        
| 122 | 122 |      { | 
                                                        
| 123 | - return $this->data['buyer_name'] . '/' . $this->data['buyer_username'] . '/' . $this->data['buyer_id'];  | 
                                                        |
| 123 | + return $this->data['buyer_name'].'/'.$this->data['buyer_username'].'/'.$this->data['buyer_id'];  | 
                                                        |
| 124 | 124 | }  | 
                                                        
| 125 | 125 | |
| 126 | 126 | /**  | 
                                                        
@@ -144,13 +144,13 @@ discard block  | 
                                                    ||
| 144 | 144 |          $raw = file_get_contents('php://input'); | 
                                                        
| 145 | 145 | $fields = substr($raw, 0, strpos($raw, '&key='));  | 
                                                        
| 146 | 146 | $secret = $this->request->getSecret();  | 
                                                        
| 147 | - $supposed_hash = md5($fields . $secret);  | 
                                                        |
| 147 | + $supposed_hash = md5($fields.$secret);  | 
                                                        |
| 148 | 148 | |
| 149 | 149 | // this is how they actually get it  | 
                                                        
| 150 | 150 | $kvs = '';  | 
                                                        
| 151 | 151 |          foreach ($this->data as $k => $v) { | 
                                                        
| 152 | 152 |              if ($k !== 'key' && $k !== 'username') { | 
                                                        
| 153 | - $kvs .= ($kvs ? '&' : '') . "$k=$v";  | 
                                                        |
| 153 | + $kvs .= ($kvs ? '&' : '')."$k=$v";  | 
                                                        |
| 154 | 154 | }  | 
                                                        
| 155 | 155 | }  | 
                                                        
| 156 | 156 | $hash = md5($kvs);  |