@@ -15,7 +15,7 @@ |
||
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * Environment constructor. |
| 18 | - * @param $api |
|
| 18 | + * @param string $api |
|
| 19 | 19 | */ |
| 20 | 20 | private function __construct($api) |
| 21 | 21 | { |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | - * @return mixed |
|
| 56 | + * @return string |
|
| 57 | 57 | */ |
| 58 | 58 | public function getClientId() |
| 59 | 59 | { |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | - * @return mixed |
|
| 75 | + * @return string |
|
| 76 | 76 | */ |
| 77 | 77 | public function getClientSecret() |
| 78 | 78 | { |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |
| 113 | - * @return mixed |
|
| 113 | + * @return string |
|
| 114 | 114 | */ |
| 115 | 115 | public function getAuthorizationToken() |
| 116 | 116 | { |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | /** |
| 132 | - * @return mixed |
|
| 132 | + * @return string |
|
| 133 | 133 | */ |
| 134 | 134 | public function getKeySession() |
| 135 | 135 | { |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | /** |
| 101 | 101 | * @param Getnet $credentials |
| 102 | 102 | * @param $url_path |
| 103 | - * @param $method |
|
| 103 | + * @param string $method |
|
| 104 | 104 | * @param null $json |
| 105 | 105 | * @return mixed |
| 106 | 106 | * @throws Exception |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | } |
| 176 | 176 | |
| 177 | 177 | /** |
| 178 | - * @return mixed|string |
|
| 178 | + * @return string |
|
| 179 | 179 | */ |
| 180 | 180 | public function getBaseUrl() |
| 181 | 181 | { |
@@ -195,8 +195,8 @@ discard block |
||
| 195 | 195 | |
| 196 | 196 | /** |
| 197 | 197 | * @param Getnet $credentials |
| 198 | - * @param $url_path |
|
| 199 | - * @param $params |
|
| 198 | + * @param string $url_path |
|
| 199 | + * @param false|string $params |
|
| 200 | 200 | * @return mixed |
| 201 | 201 | * @throws Exception |
| 202 | 202 | */ |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | - * @return mixed |
|
| 45 | + * @return string |
|
| 46 | 46 | */ |
| 47 | 47 | public function getCardNumber() |
| 48 | 48 | { |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @return mixed |
|
| 64 | + * @return string |
|
| 65 | 65 | */ |
| 66 | 66 | public function getCustomerId() |
| 67 | 67 | { |