@@ -10,7 +10,7 @@ |
||
10 | 10 | { |
11 | 11 | public static function viewsPath() |
12 | 12 | { |
13 | - return __DIR__ . '/resources/views/'; |
|
13 | + return __DIR__.'/resources/views/'; |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | /** |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | } catch (\Paylike\Exception\InvalidRequest $e) { |
61 | 61 | // Bad (invalid) request - see $e->getJsonBody() for the error |
62 | 62 | $data['exception_class'] = "\Paylike\Exception\InvalidRequest"; |
63 | - $data['message'] = "Bad (invalid) request - " . substr(json_encode($e->getJsonBody()), 0, 250); |
|
63 | + $data['message'] = "Bad (invalid) request - ".substr(json_encode($e->getJsonBody()), 0, 250); |
|
64 | 64 | } catch (\Paylike\Exception\Forbidden $e) { |
65 | 65 | // You are correctly authenticated but do not have access. |
66 | 66 | $data['exception_class'] = "\Paylike\Exception\Forbidden"; |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | $data['message'] = "Network error on connecting via cURL"; |
80 | 80 | } catch (\Paylike\Exception\ApiException $e) { |
81 | 81 | $data['exception_class'] = "\Paylike\Exception\ApiException"; |
82 | - $data['message'] = "Api Error:" . $e->getMessage(); |
|
82 | + $data['message'] = "Api Error:".$e->getMessage(); |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | return $data; |