Passed
Push — main ( bffc9e...33c372 )
by Sammy
02:00
created
Tracer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
     private function filter($q, $options)
93 93
     {
94 94
         if (isset($options['on'])) {
95
-            $q->whereLike('query_on', $options['on'] . '%');
95
+            $q->whereLike('query_on', $options['on'].'%');
96 96
         }
97 97
 
98 98
         if (isset($options['by'])) {
Please login to merge, or discard this patch.
Trace.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -9,33 +9,33 @@  discard block
 block discarded – undo
9 9
     private $query_id;
10 10
     private $query_by;
11 11
 
12
-    public function isUpdate($setter=null)
12
+    public function isUpdate($setter = null)
13 13
     {
14
-      if(is_bool($setter))
14
+      if (is_bool($setter))
15 15
         $this->query_type = self::CODE_UPDATE;
16 16
 
17 17
       return $this->query_type === self::CODE_UPDATE;
18 18
     }
19 19
 
20
-    public function isDelete($setter=null)
20
+    public function isDelete($setter = null)
21 21
     {
22
-      if(is_bool($setter))
22
+      if (is_bool($setter))
23 23
         $this->query_type = self::CODE_DELETE;
24 24
 
25 25
       return $this->query_type === self::CODE_DELETE;
26 26
     }
27 27
 
28
-    public function isInsert($setter=null)
28
+    public function isInsert($setter = null)
29 29
     {
30
-      if(is_bool($setter))
30
+      if (is_bool($setter))
31 31
         $this->query_type = self::CODE_CREATE;
32 32
 
33 33
       return $this->query_type === self::CODE_CREATE;
34 34
     }
35 35
 
36
-    public function isSelect($setter=null)
36
+    public function isSelect($setter = null)
37 37
     {
38
-      if(is_bool($setter))
38
+      if (is_bool($setter))
39 39
         $this->query_type = self::CODE_SELECT;
40 40
 
41 41
       return $this->query_type === self::CODE_SELECT;
@@ -47,23 +47,23 @@  discard block
 block discarded – undo
47 47
       return $this->query_type;
48 48
     }
49 49
 
50
-    public function tableName($setter=null)
50
+    public function tableName($setter = null)
51 51
     {
52
-      if(!is_null($setter))
52
+      if (!is_null($setter))
53 53
         $this->query_table = $setter;
54 54
       return $this->query_table;
55 55
     }
56 56
 
57
-    public function tablePk($setter=null)
57
+    public function tablePk($setter = null)
58 58
     {
59
-      if(!is_null($setter))
59
+      if (!is_null($setter))
60 60
         $this->query_id = $setter;
61 61
       return $this->query_id;
62 62
     }
63 63
 
64
-    public function operatorId($setter=null)
64
+    public function operatorId($setter = null)
65 65
     {
66
-      if(!is_null($setter))
66
+      if (!is_null($setter))
67 67
         $this->query_by = $setter;
68 68
       return $this->query_by;
69 69
     }
Please login to merge, or discard this patch.