@@ -68,7 +68,7 @@ |
||
| 68 | 68 | private function execute() { |
| 69 | 69 | |
| 70 | 70 | //For debuging |
| 71 | - if ($this->getCurlDebugIsEnable()){ |
|
| 71 | + if ($this->getCurlDebugIsEnable()){ |
|
| 72 | 72 | $parentDir = dirname(dirname(dirname(__FILE__))); |
| 73 | 73 | $fp = fopen($parentDir.'/debug_viva_curl.txt', 'w'); |
| 74 | 74 | curl_setopt($this->ch, CURLOPT_VERBOSE, 1); |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | /** |
| 57 | 57 | * Return value as string |
| 58 | 58 | * Enums\PaymentMethods::fromValue(15); |
| 59 | - */ |
|
| 59 | + */ |
|
| 60 | 60 | |
| 61 | 61 | public static function fromValue(int $value): string |
| 62 | 62 | { |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | /** |
| 41 | 41 | * Return value as string |
| 42 | 42 | * Enums\RequestLang::fromValue('el-GR'); |
| 43 | - */ |
|
| 43 | + */ |
|
| 44 | 44 | |
| 45 | 45 | public static function fromValue(string $value): string |
| 46 | 46 | { |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | /** |
| 62 | 62 | * Return value as string |
| 63 | 63 | * Enums\PaymentMethods::fromName('Dias'); |
| 64 | - */ |
|
| 64 | + */ |
|
| 65 | 65 | |
| 66 | 66 | |
| 67 | 67 | public static function fromName(string $name): int |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | /** |
| 80 | 80 | * Return value as string |
| 81 | 81 | * Enums\PaymentMethods::fromValue(15); |
| 82 | - */ |
|
| 82 | + */ |
|
| 83 | 83 | |
| 84 | 84 | public static function fromValue(int $value): string |
| 85 | 85 | { |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | /** |
| 62 | 62 | * Return value as string |
| 63 | 63 | * Enums\PaymentMethods::fromName('Dias'); |
| 64 | - */ |
|
| 64 | + */ |
|
| 65 | 65 | |
| 66 | 66 | |
| 67 | 67 | public static function fromName(string $name): int |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | /** |
| 80 | 80 | * Return value as string |
| 81 | 81 | * Enums\PaymentMethods::fromValue(15); |
| 82 | - */ |
|
| 82 | + */ |
|
| 83 | 83 | |
| 84 | 84 | public static function fromValue(int $value): string |
| 85 | 85 | { |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | |
| 6 | 6 | trait getConfigSettings |
| 7 | 7 | { |
| 8 | - public function getConfigSettings() { |
|
| 8 | + public function getConfigSettings() { |
|
| 9 | 9 | if (!property_exists($this, 'accessToken')) { |
| 10 | 10 | throw new \Exception('Property $accessToken does not exist'); |
| 11 | 11 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | public function process(){ |
| 20 | - echo 'Price = '.$this->amount; |
|
| 20 | + echo 'Price = '.$this->amount; |
|
| 21 | 21 | |
| 22 | 22 | } |
| 23 | 23 | |