Completed
Pull Request — master (#22)
by
unknown
03:40
created
src/Exceptions/ApiException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
      public static function create(RequestException $e) {
31 31
 
32
-         if($response = $e->getResponse()) {
32
+         if ($response = $e->getResponse()) {
33 33
              
34 34
              switch ($response->getStatusCode()) {
35 35
                  case 400:
Please login to merge, or discard this patch.
src/Resources/Traits/FilterTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,9 +45,9 @@
 block discarded – undo
45 45
      */
46 46
     public function filter(string $query)
47 47
     {
48
-        $end = '/search'.$this->endpoint();
48
+        $end = '/search' . $this->endpoint();
49 49
         $query = [
50
-            'query' => '"'.$query.'"',
50
+            'query' => '"' . $query . '"',
51 51
         ];
52 52
         return $this->api()->request('GET', $end, null, $query);
53 53
     }
Please login to merge, or discard this patch.