@@ -71,6 +71,9 @@ |
||
| 71 | 71 | return null; |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | + /** |
|
| 75 | + * @param string $name |
|
| 76 | + */ |
|
| 74 | 77 | public function getVar($name) |
| 75 | 78 | { |
| 76 | 79 | return $this->getWorker()->getData()[$name]; |
@@ -61,8 +61,8 @@ |
||
| 61 | 61 | */ |
| 62 | 62 | public static function buildClass($gateway, $library, $what) |
| 63 | 63 | { |
| 64 | - $gateway = $gateway ? static::simplify($gateway) . '\\' : ''; |
|
| 65 | - return 'hiqdev\php\merchant\\' . $gateway . $library . $what; |
|
| 64 | + $gateway = $gateway ? static::simplify($gateway).'\\' : ''; |
|
| 65 | + return 'hiqdev\php\merchant\\'.$gateway.$library.$what; |
|
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | /** |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | */ |
| 25 | 25 | public function getTime() |
| 26 | 26 | { |
| 27 | - return Helper::isotime($this->getVar('LMI_SYS_TRANS_DATE') . ' Europe/Moscow'); |
|
| 27 | + return Helper::isotime($this->getVar('LMI_SYS_TRANS_DATE').' Europe/Moscow'); |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
@@ -33,6 +33,6 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function getPayer() |
| 35 | 35 | { |
| 36 | - return $this->getVar('LMI_PAYER_PURSE') . '/' . $this->getVar('LMI_PAYER_WM'); |
|
| 36 | + return $this->getVar('LMI_PAYER_PURSE').'/'.$this->getVar('LMI_PAYER_WM'); |
|
| 37 | 37 | } |
| 38 | 38 | } |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | */ |
| 25 | 25 | public function getTime() |
| 26 | 26 | { |
| 27 | - return Helper::isotime($this->getVar('LMI_SYS_TRANS_DATE') . ' Europe/Moscow'); |
|
| 27 | + return Helper::isotime($this->getVar('LMI_SYS_TRANS_DATE').' Europe/Moscow'); |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
@@ -33,6 +33,6 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function getPayer() |
| 35 | 35 | { |
| 36 | - return $this->getVar('LMI_PAYER_PURSE') . '/' . $this->getVar('LMI_PAYER_WM'); |
|
| 36 | + return $this->getVar('LMI_PAYER_PURSE').'/'.$this->getVar('LMI_PAYER_WM'); |
|
| 37 | 37 | } |
| 38 | 38 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | public function getTime() |
| 25 | 25 | { |
| 26 | - return Helper::isotime($this->getVar('datetime') . ' Europe/Moscow'); |
|
| 26 | + return Helper::isotime($this->getVar('datetime').' Europe/Moscow'); |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | /** |