@@ -60,7 +60,7 @@ |
||
| 60 | 60 | return $this->fields[$name]; |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | - /** @return string[] */ |
|
| 63 | + /** @return integer[] */ |
|
| 64 | 64 | public function getLinks() |
| 65 | 65 | { |
| 66 | 66 | return array_keys($this->links); |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | |
| 14 | 14 | public function __construct() |
| 15 | 15 | { |
| 16 | - $this->dbPath = __DIR__.'/../../testapi/endpoints.db'; |
|
| 16 | + $this->dbPath = __DIR__ . '/../../testapi/endpoints.db'; |
|
| 17 | 17 | |
| 18 | 18 | $this->writeEndpoints([]); |
| 19 | 19 | } |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | $response = $client->get($url); |
| 57 | 57 | |
| 58 | 58 | return new Response( |
| 59 | - 'data://text/plain,'.(string) $response->getBody(), |
|
| 59 | + 'data://text/plain,' . (string) $response->getBody(), |
|
| 60 | 60 | $response->getStatusCode(), |
| 61 | 61 | $response->getHeaders() |
| 62 | 62 | ); |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | public function iMakeAGetRequestTo($url) |
| 72 | 72 | { |
| 73 | 73 | try { |
| 74 | - $this->response = $this->client->get($this->urlPrefix.$url); |
|
| 74 | + $this->response = $this->client->get($this->urlPrefix . $url); |
|
| 75 | 75 | } catch (HalClientException $error) { |
| 76 | 76 | $this->error = $error; |
| 77 | 77 | } |