@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | public function findLatestComments(FindLatestCommentsQuery $query): Page |
30 | 30 | { |
31 | 31 | $client = $this->getClient(); |
32 | - $client->request('GET', '/api/comments/?pageNo=' . $query->getPageNo()); |
|
32 | + $client->request('GET', '/api/comments/?pageNo='.$query->getPageNo()); |
|
33 | 33 | return $this->responseObject($client, Page::class); |
34 | 34 | } |
35 | 35 | |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | public function findCommentsForPost(FindCommentsByPostIdQuery $query): array |
41 | 41 | { |
42 | 42 | $client = $this->getClient(); |
43 | - $client->request('GET', '/api/comments/' . $query->getPostId()); |
|
43 | + $client->request('GET', '/api/comments/'.$query->getPostId()); |
|
44 | 44 | return $this->responseObjects($client, FindCommentsByPostIdQueryResponse::class); |
45 | 45 | } |
46 | 46 |
@@ -31,7 +31,7 @@ |
||
31 | 31 | |
32 | 32 | protected function getContractsPath(): string |
33 | 33 | { |
34 | - return dirname(__FILE__) . '/../../../contracts'; |
|
34 | + return dirname(__FILE__).'/../../../contracts'; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | public static abstract function fail(string $message); |