Passed
Push — master ( c2510e...1b613c )
by Morris
42:12 queued 28:48
created
lib/private/DB/QueryBuilder/QueryBuilder.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -196,9 +196,9 @@  discard block
 block discarded – undo
196 196
 			$params = [];
197 197
 			foreach ($this->getParameters() as $placeholder => $value) {
198 198
 				if (is_array($value)) {
199
-					$params[] = $placeholder . ' => (\'' . implode('\', \'', $value) . '\')';
199
+					$params[] = $placeholder.' => (\''.implode('\', \'', $value).'\')';
200 200
 				} else {
201
-					$params[] = $placeholder . ' => \'' . $value . '\'';
201
+					$params[] = $placeholder.' => \''.$value.'\'';
202 202
 				}
203 203
 			}
204 204
 			if (empty($params)) {
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
 	 */
417 417
 	public function selectAlias($select, $alias) {
418 418
 		$this->queryBuilder->addSelect(
419
-			$this->helper->quoteColumnName($select) . ' AS ' . $this->helper->quoteColumnName($alias)
419
+			$this->helper->quoteColumnName($select).' AS '.$this->helper->quoteColumnName($alias)
420 420
 		);
421 421
 
422 422
 		return $this;
@@ -443,7 +443,7 @@  discard block
 block discarded – undo
443 443
 		$quotedSelect = $this->helper->quoteColumnNames($select);
444 444
 
445 445
 		$this->queryBuilder->addSelect(
446
-			'DISTINCT ' . implode(', ', $quotedSelect)
446
+			'DISTINCT '.implode(', ', $quotedSelect)
447 447
 		);
448 448
 
449 449
 		return $this;
@@ -1126,7 +1126,7 @@  discard block
 block discarded – undo
1126 1126
 	 * @return IParameter
1127 1127
 	 */
1128 1128
 	public function createParameter($name) {
1129
-		return new Parameter(':' . $name);
1129
+		return new Parameter(':'.$name);
1130 1130
 	}
1131 1131
 
1132 1132
 	/**
@@ -1197,7 +1197,7 @@  discard block
 block discarded – undo
1197 1197
 			return $table;
1198 1198
 		}
1199 1199
 
1200
-		return '*PREFIX*' . $table;
1200
+		return '*PREFIX*'.$table;
1201 1201
 	}
1202 1202
 
1203 1203
 	/**
@@ -1212,7 +1212,7 @@  discard block
 block discarded – undo
1212 1212
 			$tableAlias .= '.';
1213 1213
 		}
1214 1214
 
1215
-		return $this->helper->quoteColumnName($tableAlias . $column);
1215
+		return $this->helper->quoteColumnName($tableAlias.$column);
1216 1216
 	}
1217 1217
 
1218 1218
 	/**
Please login to merge, or discard this patch.