@@ -39,8 +39,8 @@ |
||
| 39 | 39 | public static function delete($token, array $params = array()) |
| 40 | 40 | { |
| 41 | 41 | throw new Exception\RuntimeException( |
| 42 | - 'Resource ' . ucfirst(static::RESOURCE_NAME) . |
|
| 43 | - ' does not support method ' . __METHOD__ |
|
| 42 | + 'Resource '.ucfirst(static::RESOURCE_NAME). |
|
| 43 | + ' does not support method '.__METHOD__ |
|
| 44 | 44 | ); |
| 45 | 45 | } |
| 46 | 46 | } |
@@ -25,8 +25,8 @@ discard block |
||
| 25 | 25 | public static function create(array $params) |
| 26 | 26 | { |
| 27 | 27 | throw new Exception\RuntimeException( |
| 28 | - 'Resource ' . ucfirst(static::RESOURCE_NAME) . |
|
| 29 | - ' does not support method ' . __METHOD__ |
|
| 28 | + 'Resource '.ucfirst(static::RESOURCE_NAME). |
|
| 29 | + ' does not support method '.__METHOD__ |
|
| 30 | 30 | ); |
| 31 | 31 | } |
| 32 | 32 | |
@@ -38,8 +38,8 @@ discard block |
||
| 38 | 38 | public static function update($token, array $params) |
| 39 | 39 | { |
| 40 | 40 | throw new Exception\RuntimeException( |
| 41 | - 'Resource ' . ucfirst(static::RESOURCE_NAME) . |
|
| 42 | - ' does not support method ' . __METHOD__ |
|
| 41 | + 'Resource '.ucfirst(static::RESOURCE_NAME). |
|
| 42 | + ' does not support method '.__METHOD__ |
|
| 43 | 43 | ); |
| 44 | 44 | } |
| 45 | 45 | |
@@ -51,8 +51,8 @@ discard block |
||
| 51 | 51 | public static function delete($token, array $params = array()) |
| 52 | 52 | { |
| 53 | 53 | throw new Exception\RuntimeException( |
| 54 | - 'Resource ' . ucfirst(static::RESOURCE_NAME) . |
|
| 55 | - ' does not support method ' . __METHOD__ |
|
| 54 | + 'Resource '.ucfirst(static::RESOURCE_NAME). |
|
| 55 | + ' does not support method '.__METHOD__ |
|
| 56 | 56 | ); |
| 57 | 57 | } |
| 58 | 58 | } |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | ); |
| 147 | 147 | |
| 148 | 148 | $options = array_merge($params, $options); |
| 149 | - $actionClass = 'Everypay\\Action\\' . (ucwords($action)); |
|
| 149 | + $actionClass = 'Everypay\\Action\\'.(ucwords($action)); |
|
| 150 | 150 | $actionInstance = new $actionClass($options); |
| 151 | 151 | $request = $actionInstance(); |
| 152 | 152 | |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | $client = self::$client ?: new CurlClient(self::$clientOptions); |
| 159 | 159 | $client->setOption(CurlClient::TIMEOUT, 30); |
| 160 | 160 | $client->setOption(CurlClient::SSL_VERIFY_PEER, 0); |
| 161 | - $client->setOption(CurlClient::USER_AGENT, 'EveryPay PHP Library ' . Everypay::VERSION); |
|
| 161 | + $client->setOption(CurlClient::USER_AGENT, 'EveryPay PHP Library '.Everypay::VERSION); |
|
| 162 | 162 | |
| 163 | 163 | return $client; |
| 164 | 164 | } |