Completed
Push — master ( 8e6c0f...d63375 )
by Stephan
02:11
created
src/Picqer/Financials/Exact/Connection.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -358,8 +358,7 @@
 block discarded – undo
358 358
             if (array_key_exists('d', $json)) {
359 359
                 if (array_key_exists('__next', $json['d'])) {
360 360
                     $this->nextUrl = $json['d']['__next'];
361
-                }
362
-                else {
361
+                } else {
363 362
                     $this->nextUrl = null;
364 363
                 }
365 364
 
Please login to merge, or discard this patch.
src/Picqer/Financials/Exact/Model.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,8 +144,7 @@
 block discarded – undo
144 144
 
145 145
                 return true;
146 146
             }
147
-        }
148
-        catch (\Exception $e) {
147
+        } catch (\Exception $e) {
149 148
             // We tried lets leave it as is.
150 149
         }
151 150
 
Please login to merge, or discard this patch.
src/Picqer/Financials/Exact/Query/Findable.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,8 +64,7 @@
 block discarded – undo
64 64
             $format = ($this->url() == 'crm/Accounts' && $key === 'Code') ? '%18s' : '%s';
65 65
             if (preg_match('/^[\w]{8}-([\w]{4}-){3}[\w]{12}$/', $code)) {
66 66
                 $format = "guid'$format'";
67
-            }
68
-            elseif (is_string($code)) {
67
+            } elseif (is_string($code)) {
69 68
                 $format = "'$format'";
70 69
             }
71 70
 
Please login to merge, or discard this patch.