@@ -19,7 +19,7 @@ |
||
| 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 | })); |
@@ -14,7 +14,7 @@ |
||
| 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; |
@@ -14,7 +14,7 @@ |
||
| 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; |
@@ -32,7 +32,7 @@ |
||
| 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 | } |