@@ -196,7 +196,7 @@ |
||
| 196 | 196 | * |
| 197 | 197 | * @param Connection $dbConnection |
| 198 | 198 | * @param array $parameters |
| 199 | - * @param number $indent |
|
| 199 | + * @param integer $indent |
|
| 200 | 200 | * @param int $conditionsMode |
| 201 | 201 | * |
| 202 | 202 | * @return string|null |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | |
| 34 | 34 | if ($parameterNode !== null) { |
| 35 | 35 | if (!isset($parameters[$parameterNode->getName()])) { |
| 36 | - throw new MagicQueryException("Missing parameter '" . $parameterNode->getName() . "' for 'IN' operand."); |
|
| 36 | + throw new MagicQueryException("Missing parameter '".$parameterNode->getName()."' for 'IN' operand."); |
|
| 37 | 37 | } |
| 38 | 38 | if ($parameters[$parameterNode->getName()] === []) { |
| 39 | 39 | return "FALSE"; |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | if ($extrapolateParameters && isset($parameters[$this->name])) { |
| 165 | 165 | if ($dbConnection) { |
| 166 | 166 | if (is_array($parameters[$this->name])) { |
| 167 | - return '('.implode(',', array_map(function ($item) use ($dbConnection) { |
|
| 167 | + return '('.implode(',', array_map(function($item) use ($dbConnection) { |
|
| 168 | 168 | return $dbConnection->quote($this->autoPrepend.$item.$this->autoAppend); |
| 169 | 169 | }, $parameters[$this->name])).')'; |
| 170 | 170 | } else { |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | return 'null'; |
| 176 | 176 | } else { |
| 177 | 177 | if (is_array($parameters[$this->name])) { |
| 178 | - return implode(',', array_map(function ($item) { |
|
| 178 | + return implode(',', array_map(function($item) { |
|
| 179 | 179 | return "'".addslashes($this->autoPrepend.$item.$this->autoAppend)."'"; |
| 180 | 180 | }, $parameters[$this->name])); |
| 181 | 181 | } else { |