@@ -28,7 +28,7 @@ |
||
| 28 | 28 | $template = Request::init() |
| 29 | 29 | ->withStrictSSL() |
| 30 | 30 | ->addHeader('Authorization', 'token') |
| 31 | - ->addHeader('User-Agent', 'Qualia API/PHP/'. PHP_VERSION . ' (' . PHP_OS . ')') |
|
| 31 | + ->addHeader('User-Agent', 'Qualia API/PHP/' . PHP_VERSION . ' (' . PHP_OS . ')') |
|
| 32 | 32 | ->parseWith(function($body) { |
| 33 | 33 | return json_decode($body, true); |
| 34 | 34 | }) |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | */ |
| 104 | 104 | public function date($id, $date) |
| 105 | 105 | { |
| 106 | - if (! Util::isValidDate($date)) { |
|
| 106 | + if (!Util::isValidDate($date)) { |
|
| 107 | 107 | throw new InvalidArgumentException("Date must be provided in Y-m-d format"); |
| 108 | 108 | } |
| 109 | 109 | |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | $this->additional['mark_complete'] = 1; |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | - return $this->client->post('survey/'. $this->client->getSurveyId() .'/entries', $this->data, $this->additional); |
|
| 153 | + return $this->client->post('survey/' . $this->client->getSurveyId() . '/entries', $this->data, $this->additional); |
|
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | } |
| 157 | 157 | \ No newline at end of file |