Passed
Push — master ( 6070fb...9c7c6d )
by Petr
03:01
created
php-src/arrays/Filters/Range.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
             throw new ConnectException('Value must be an array of two values with keys 0 and 1.');
20 20
         }
21 21
 
22
-        $this->getSource()->setArray(array_filter($this->getSource()->getArray(), function (IRow $item) use ($colName, $value) {
22
+        $this->getSource()->setArray(array_filter($this->getSource()->getArray(), function(IRow $item) use ($colName, $value) {
23 23
             $itemValue = $item->getValue($colName);
24 24
             return $itemValue > $value[0] && $itemValue < $value[1];
25 25
         }));
Please login to merge, or discard this patch.
php-src/arrays/Filters/ToWith.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 {
15 15
     public function setFiltering(string $colName, $value)
16 16
     {
17
-        $this->getSource()->setArray(array_filter($this->getSource()->getArray(), function (IRow $item) use ($colName, $value) {
17
+        $this->getSource()->setArray(array_filter($this->getSource()->getArray(), function(IRow $item) use ($colName, $value) {
18 18
             return $item->getValue($colName) <= $value;
19 19
         }));
20 20
         return $this;
Please login to merge, or discard this patch.
php-src/arrays/Filters/To.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 {
15 15
     public function setFiltering(string $colName, $value)
16 16
     {
17
-        $this->getSource()->setArray(array_filter($this->getSource()->getArray(), function (IRow $item) use ($colName, $value) {
17
+        $this->getSource()->setArray(array_filter($this->getSource()->getArray(), function(IRow $item) use ($colName, $value) {
18 18
             return $item->getValue($colName) < $value;
19 19
         }));
20 20
         return $this;
Please login to merge, or discard this patch.
php-src/core/TMultiple.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         if ($this->filterFactory && ($this->filterFactory instanceof IFilterFactory)) {
34 34
             foreach ($value as list($filterType, $expected)) {
35
-                $subFilter = $this->filterFactory->getFilter($filterType);;
35
+                $subFilter = $this->filterFactory->getFilter($filterType); ;
36 36
                 if ($subFilter instanceof IFilterSubs) {
37 37
                     $subFilter->addFilterFactory($this->filterFactory);
38 38
                 }
Please login to merge, or discard this patch.
php-src/eloquent/Connector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
     public function fetchData(): void
69 69
     {
70 70
         foreach (array_reverse($this->sorters) as list($colName, $direction)) {
71
-            $dir = IOrder::ORDER_ASC == $direction ? 'asc' : 'desc' ;
71
+            $dir = IOrder::ORDER_ASC == $direction ? 'asc' : 'desc';
72 72
             $this->queryBuilder->orderBy($colName, $dir);
73 73
         }
74 74
         $this->rawData = $this->queryBuilder->offset($this->offset)->limit($this->limit)->get();
Please login to merge, or discard this patch.