@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | } |
223 | 223 | |
224 | 224 | if (!empty($queryParams)) { |
225 | - $whereExpression = ' WHERE ' . implode(' AND ', $queryParams); |
|
225 | + $whereExpression = ' WHERE '.implode(' AND ', $queryParams); |
|
226 | 226 | } |
227 | 227 | |
228 | 228 | return $whereExpression; |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | * |
277 | 277 | * @codeCoverageIgnore Don't test external library. |
278 | 278 | */ |
279 | - private function bindValuesToStatement(PDOStatement &$statement, array $queryBind) |
|
279 | + private function bindValuesToStatement(PDOStatement&$statement, array $queryBind) |
|
280 | 280 | { |
281 | 281 | foreach ($queryBind as $index => $data) { |
282 | 282 | $paramType = PDO::PARAM_STR; |
@@ -255,8 +255,8 @@ |
||
255 | 255 | $normalizedName = $this->getNormalizedName($serviceClass, $parameterName); |
256 | 256 | |
257 | 257 | // If the parameter marked as to be used as a scalar |
258 | - if (is_scalar($parameter) && strpos((string)$parameter, '!:') === 0) { |
|
259 | - $parameter = substr((string)$parameter, 2); |
|
258 | + if (is_scalar($parameter) && strpos((string) $parameter, '!:') === 0) { |
|
259 | + $parameter = substr((string) $parameter, 2); |
|
260 | 260 | } else { |
261 | 261 | // Otherwise check if the parameter is a service. |
262 | 262 | $parameter = $this->getReferenceServiceIfAvailable($parameter); |
@@ -50,7 +50,7 @@ |
||
50 | 50 | * |
51 | 51 | * @return ResponseInterface |
52 | 52 | */ |
53 | - final public function __invoke(ServerRequestInterface &$request, ResponseInterface $response) |
|
53 | + final public function __invoke(ServerRequestInterface&$request, ResponseInterface $response) |
|
54 | 54 | { |
55 | 55 | $this->request = $request; |
56 | 56 | $this->response = $response; |
@@ -163,11 +163,11 @@ |
||
163 | 163 | $name = $this->name; |
164 | 164 | |
165 | 165 | if (isset($this->parentNode)) { |
166 | - $name = $this->parentNode->getName() . '[' . $this->name . ']'; |
|
166 | + $name = $this->parentNode->getName().'['.$this->name.']'; |
|
167 | 167 | } |
168 | 168 | |
169 | 169 | if (count($this->options) > 1 |
170 | - && $this->tagName == self::TAG_SELECT |
|
170 | + && $this->tagName == self::TAG_SELECT |
|
171 | 171 | && !empty($this->attributes['multiple']) |
172 | 172 | ) { |
173 | 173 | $name .= '[]'; |