Passed
Push — master ( 90bcaa...3528be )
by Laurynas
03:28
created
src/Client.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,6 +77,6 @@
 block discarded – undo
77 77
         echo("You may want to view this in your browser with enabled JSON Formatter or with REST API Client: $url");
78 78
 
79 79
         return Request::get($url)
80
-                      ->send()->body;
80
+                        ->send()->body;
81 81
     }
82 82
 }
83 83
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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
             })
Please login to merge, or discard this patch.
src/Submission/Entry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.