Passed
Push — master ( e25a62...d69407 )
by Roeland
15:32 queued 10s
created
lib/private/DB/QueryBuilder/QueryBuilder.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -197,11 +197,11 @@  discard block
 block discarded – undo
197 197
 				$params = [];
198 198
 				foreach ($this->getParameters() as $placeholder => $value) {
199 199
 					if ($value instanceof \DateTime) {
200
-						$params[] = $placeholder . ' => DateTime:\'' . $value->format('c') . '\'';
200
+						$params[] = $placeholder.' => DateTime:\''.$value->format('c').'\'';
201 201
 					} elseif (is_array($value)) {
202
-						$params[] = $placeholder . ' => (\'' . implode('\', \'', $value) . '\')';
202
+						$params[] = $placeholder.' => (\''.implode('\', \'', $value).'\')';
203 203
 					} else {
204
-						$params[] = $placeholder . ' => \'' . $value . '\'';
204
+						$params[] = $placeholder.' => \''.$value.'\'';
205 205
 					}
206 206
 				}
207 207
 				if (empty($params)) {
@@ -424,7 +424,7 @@  discard block
 block discarded – undo
424 424
 	 */
425 425
 	public function selectAlias($select, $alias) {
426 426
 		$this->queryBuilder->addSelect(
427
-			$this->helper->quoteColumnName($select) . ' AS ' . $this->helper->quoteColumnName($alias)
427
+			$this->helper->quoteColumnName($select).' AS '.$this->helper->quoteColumnName($alias)
428 428
 		);
429 429
 
430 430
 		return $this;
@@ -451,7 +451,7 @@  discard block
 block discarded – undo
451 451
 		$quotedSelect = $this->helper->quoteColumnNames($select);
452 452
 
453 453
 		$this->queryBuilder->addSelect(
454
-			'DISTINCT ' . implode(', ', $quotedSelect)
454
+			'DISTINCT '.implode(', ', $quotedSelect)
455 455
 		);
456 456
 
457 457
 		return $this;
@@ -1134,7 +1134,7 @@  discard block
 block discarded – undo
1134 1134
 	 * @return IParameter
1135 1135
 	 */
1136 1136
 	public function createParameter($name) {
1137
-		return new Parameter(':' . $name);
1137
+		return new Parameter(':'.$name);
1138 1138
 	}
1139 1139
 
1140 1140
 	/**
@@ -1205,7 +1205,7 @@  discard block
 block discarded – undo
1205 1205
 			return $table;
1206 1206
 		}
1207 1207
 
1208
-		return '*PREFIX*' . $table;
1208
+		return '*PREFIX*'.$table;
1209 1209
 	}
1210 1210
 
1211 1211
 	/**
@@ -1220,7 +1220,7 @@  discard block
 block discarded – undo
1220 1220
 			$tableAlias .= '.';
1221 1221
 		}
1222 1222
 
1223
-		return $this->helper->quoteColumnName($tableAlias . $column);
1223
+		return $this->helper->quoteColumnName($tableAlias.$column);
1224 1224
 	}
1225 1225
 
1226 1226
 	/**
Please login to merge, or discard this patch.