@@ -27,14 +27,14 @@ |
||
27 | 27 | return false; |
28 | 28 | } |
29 | 29 | |
30 | - $query = 'SELECT Id, Paid__c FROM ' . $this->getType() . ' WHERE '; |
|
30 | + $query = 'SELECT Id, Paid__c FROM '.$this->getType().' WHERE '; |
|
31 | 31 | |
32 | 32 | $paramsWithKeys = []; |
33 | 33 | foreach ($params as $fieldName => $fieldValue) { |
34 | - $paramsWithKeys[] = $fieldName . ' = \'' . addslashes(trim($fieldValue)) . '\''; |
|
34 | + $paramsWithKeys[] = $fieldName.' = \''.addslashes(trim($fieldValue)).'\''; |
|
35 | 35 | } |
36 | 36 | |
37 | - $query .= '(' . implode(' ' . $condition . ' ', $paramsWithKeys) . ')'; |
|
37 | + $query .= '('.implode(' '.$condition.' ', $paramsWithKeys).')'; |
|
38 | 38 | |
39 | 39 | $response = $this->query($query); |
40 | 40 |