Passed
Push — master ( 4866cc...749535 )
by smiley
09:39
created
src/Query/MultiQueryTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
 	/** @inheritdoc */
32 32
 	public function callback(iterable $values, callable $callback):bool{
33
-		$sql    = $this->sql(true);
33
+		$sql = $this->sql(true);
34 34
 
35 35
 		$this->logger->debug('MultiQueryTrait::callback()', ['method' => __METHOD__, 'sql' => $sql, 'val' => $values]);
36 36
 
Please login to merge, or discard this patch.
src/Dialects/DialectAbstract.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
 
193 193
 		// @todo: fixme, cleanup
194 194
 		// errors on [alias => col, alias, alias => col...]
195
-		$_col = function ($expr1, $expr2 = null, $func = null):string {
195
+		$_col = function($expr1, $expr2 = null, $func = null):string {
196 196
 			switch(true){
197 197
 				case  $expr2 && $func:
198 198
 					$col = sprintf('%s(%s) AS %s', strtoupper($func), $expr1, $this->quote($expr2));
@@ -234,12 +234,12 @@  discard block
 block discarded – undo
234 234
 	/** @inheritdoc */
235 235
 	public function from(array $expressions):array {
236 236
 
237
-		$_from = function (string $table, string $ref = null):string {
237
+		$_from = function(string $table, string $ref = null):string {
238 238
 			// @todo: quotes
239 239
 			$from = $this->quote($table);
240 240
 
241 241
 			if($ref){
242
-				$from = sprintf('%s AS %s', $this->quote($ref), $this->quote($table));// @todo: index hint
242
+				$from = sprintf('%s AS %s', $this->quote($ref), $this->quote($table)); // @todo: index hint
243 243
 			}
244 244
 
245 245
 			return $from;
Please login to merge, or discard this patch.
src/Result.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -343,9 +343,9 @@
 block discarded – undo
343 343
 	public function seek($pos):void{
344 344
 		$this->rewind();
345 345
 
346
-		for( ; $this->offset < $pos; ){
346
+		for(; $this->offset < $pos;){
347 347
 
348
-			if(!\next($this->array)) {
348
+			if(!\next($this->array)){
349 349
 				throw new \OutOfBoundsException('invalid seek position: '.$pos);
350 350
 			}
351 351
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -345,7 +345,7 @@
 block discarded – undo
345 345
 
346 346
 		for( ; $this->offset < $pos; ){
347 347
 
348
-			if(!\next($this->array)) {
348
+			if(!\next($this->array)){
349 349
 				throw new \OutOfBoundsException('invalid seek position: '.$pos);
350 350
 			}
351 351
 
Please login to merge, or discard this patch.