@@ -10,12 +10,12 @@ |
||
10 | 10 | // create a new seller |
11 | 11 | $seller = Seller::create($sellerParams); |
12 | 12 | $sellerToken = $seller->token; |
13 | - echo 'Seller with token ' . $sellerToken . ' created' . PHP_EOL; |
|
13 | + echo 'Seller with token '.$sellerToken.' created'.PHP_EOL; |
|
14 | 14 | |
15 | 15 | $payouts = Payout::listAll(['seller' => $sellerToken]); |
16 | - echo 'Total count of payouts: ' . $payouts->total_count . PHP_EOL; |
|
16 | + echo 'Total count of payouts: '.$payouts->total_count.PHP_EOL; |
|
17 | 17 | |
18 | 18 | //$payout = Payout::retrieve('pay_J4cjJqNeUBje5c6dmlFmDwXA'); |
19 | 19 | } catch (ApiErrorException $e) { |
20 | - echo $e->getMessage() . PHP_EOL; |
|
20 | + echo $e->getMessage().PHP_EOL; |
|
21 | 21 | } |
@@ -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 | } |