@@ -112,7 +112,7 @@ |
||
112 | 112 | * Set one parameter. |
113 | 113 | * |
114 | 114 | * @param string $key Parameter key |
115 | - * @param mixed $value Parameter value |
|
115 | + * @param string $value Parameter value |
|
116 | 116 | * @return BankAccount provides a fluent interface. |
117 | 117 | */ |
118 | 118 | protected function setParameter($key, $value) |
@@ -17,6 +17,9 @@ discard block |
||
17 | 17 | ); |
18 | 18 | } |
19 | 19 | |
20 | + /** |
|
21 | + * @return string|boolean |
|
22 | + */ |
|
20 | 23 | public function getApiKey() |
21 | 24 | { |
22 | 25 | return $this->getParameter('api_key'); |
@@ -27,6 +30,9 @@ discard block |
||
27 | 30 | return $this->setParameter('api_key', $value); |
28 | 31 | } |
29 | 32 | |
33 | + /** |
|
34 | + * @return string |
|
35 | + */ |
|
30 | 36 | public function getApiSecret() |
31 | 37 | { |
32 | 38 | return $this->getParameter('api_secret'); |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Omnipay\Spreedly\Message\Concerns; |
4 | 4 | |
5 | -use Omnipay\Common\Exception\InvalidRequestException; |
|
5 | +use Omnipay\Common\Exception\InvalidRequestException; |
|
6 | 6 | use Omnipay\Spreedly\Arr; |
7 | 7 | |
8 | 8 | trait HasGateway |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Omnipay\Spreedly\Message\Concerns; |
4 | 4 | |
5 | -use Omnipay\Common\Exception\InvalidRequestException; |
|
5 | +use Omnipay\Common\Exception\InvalidRequestException; |
|
6 | 6 | use Omnipay\Spreedly\Arr; |
7 | 7 | |
8 | 8 | trait HasGatewaySpecificFields |
@@ -2,10 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Omnipay\Spreedly\Message\Concerns; |
4 | 4 | |
5 | -use Omnipay\Common\CreditCard; |
|
6 | -use Omnipay\Common\Exception\InvalidRequestException; |
|
7 | -use Omnipay\Spreedly\BankAccount; |
|
8 | - |
|
9 | 5 | trait HasPagination |
10 | 6 | { |
11 | 7 | public function getOrder() |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Omnipay\Spreedly\Message\Concerns; |
4 | 4 | |
5 | -use Omnipay\Common\CreditCard; |
|
6 | -use Omnipay\Common\Exception\InvalidRequestException; |
|
5 | +use Omnipay\Common\CreditCard; |
|
6 | +use Omnipay\Common\Exception\InvalidRequestException; |
|
7 | 7 | use Omnipay\Spreedly\BankAccount; |
8 | 8 | |
9 | 9 | trait HasPaymentMethodData |