Passed
Branch master (1f9550)
by compolom
01:48
created
src/Parts/Delete.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Compolomus\LSQLQueryBuilder\Parts;
4 4
 
Please login to merge, or discard this patch.
src/Parts/Join.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Compolomus\LSQLQueryBuilder\Parts;
4 4
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     private $joinTypes = ['left', 'right', 'cross', 'inner'];
27 27
 
28
-    public function __construct(string $table, ?array $on = null, ?string $alias = null, string $joinType = 'left')
28
+    public function __construct(string $table, ? array $on = null, ?string $alias = null, string $joinType = 'left')
29 29
     {
30 30
         $this->table = $table;
31 31
         if (!is_null($on)) {
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
     private function onMap(array $array): string
64 64
     {
65
-        return ' ON ' . $this->concatWhere(array_map(function ($item) {
65
+        return ' ON ' . $this->concatWhere(array_map(function($item) {
66 66
             return $this->parentTable . '.' . $this->escapeField($item[0]) . ' = ' . $this->getTable() . '.' . $this->escapeField($item[1]);
67 67
         }, $array));
68 68
     }
Please login to merge, or discard this patch.
src/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Compolomus\LSQLQueryBuilder;
4 4
 
Please login to merge, or discard this patch.