Passed
Branch master (4271b4)
by compolom
02:28 queued 48s
created
src/Parts/Where.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     /**
48 48
      * @param string $field
49 49
      * @param string $cond
50
-     * @param mixed $value
50
+     * @param integer $value
51 51
      * @return $this
52 52
      */
53 53
     public function add(string $field, string $cond, $value): Where
Please login to merge, or discard this 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/System/Traits/Magic.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\System\Traits;
4 4
 
Please login to merge, or discard this patch.
src/System/Traits/Order.php 1 patch
Spacing   +2 added lines, -2 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\System\Traits;
4 4
 
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 {
9 9
     private $order;
10 10
 
11
-    public function order(?string $field = null, string $type = 'asc'): Porder
11
+    public function order(?string $field = null, string $type = 'asc') : Porder
12 12
     {
13 13
         $this->order = new Porder($field, $type);
14 14
         $this->order->base($this);
Please login to merge, or discard this patch.
src/System/Traits/Group.php 1 patch
Spacing   +2 added lines, -2 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\System\Traits;
4 4
 
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 {
9 9
     private $group;
10 10
 
11
-    public function group(?string $field = null): PGroup
11
+    public function group(?string $field = null) : PGroup
12 12
     {
13 13
         $this->group = new Pgroup($field);
14 14
         $this->group->base($this);
Please login to merge, or discard this patch.
src/System/Placeholders.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\System;
4 4
 
Please login to merge, or discard this patch.
src/System/Fields.php 1 patch
Spacing   +2 added lines, -2 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\System;
4 4
 
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         $this->fields = $return;
28 28
     }
29 29
 
30
-    public function count(string $field = '*', ?string $alias = null): void
30
+    public function count(string $field = '*', ?string $alias = null) : void
31 31
     {
32 32
         if ($field != '*') {
33 33
             $field = $this->escapeField($field);
Please login to merge, or discard this patch.
src/Parts/Update.php 1 patch
Spacing   +2 added lines, -2 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
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             . (count($this->values)
42 42
                 ? implode(',', $this->values)
43 43
                 : (count($this->fields) & !count($this->values)
44
-                    ? implode(',', array_map(function ($field) {
44
+                    ? implode(',', array_map(function($field) {
45 45
                         return $this->escapeField($field) . ' = ?';
46 46
                     ;}, $this->fields))
47 47
                     : '')
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.
src/System/Traits/Where.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\System\Traits;
4 4
 
Please login to merge, or discard this patch.