@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * |
| 59 | 59 | * @return string (guid) |
| 60 | 60 | */ |
| 61 | - public function findId($code, $key='Code') |
|
| 61 | + public function findId($code, $key = 'Code') |
|
| 62 | 62 | { |
| 63 | 63 | if ($this->isFillable($key)) { |
| 64 | 64 | $format = ($this->url() == 'crm/Accounts' && $key === 'Code') ? '%18s' : '%s'; |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | |
| 109 | 109 | $result = $this->connection()->get($this->url(), $request, $headers); |
| 110 | 110 | |
| 111 | - if (!empty($divisionId)) { |
|
| 111 | + if ( ! empty($divisionId)) { |
|
| 112 | 112 | $this->connection()->setDivision($originalDivision); // Restore division |
| 113 | 113 | } |
| 114 | 114 | |