@@ -46,8 +46,7 @@ |
||
46 | 46 | $format = ($this->url == 'crm/Accounts' && $key === 'Code') ? '%18s' : '%s'; |
47 | 47 | if (preg_match('/^[\w]{8}-([\w]{4}-){3}[\w]{12}$/', $code)) { |
48 | 48 | $format = "guid'$format'"; |
49 | - } |
|
50 | - elseif (is_string($code)) { |
|
49 | + } elseif (is_string($code)) { |
|
51 | 50 | $format = "'$format'"; |
52 | 51 | } |
53 | 52 |
@@ -145,8 +145,7 @@ |
||
145 | 145 | |
146 | 146 | return true; |
147 | 147 | } |
148 | - } |
|
149 | - catch (Exception $e) { |
|
148 | + } catch (Exception $e) { |
|
150 | 149 | // We tried lets leave it as is. |
151 | 150 | } |
152 | 151 |
@@ -358,8 +358,7 @@ |
||
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 |