Passed
Push — master ( 6070fb...9c7c6d )
by Petr
03:01
created
php-src/doctrine_dbal/Connector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,14 +62,14 @@
 block discarded – undo
62 62
 
63 63
     public function getTotalCount(): int
64 64
     {
65
-        $this->queryBuilder->select('count(' . $this->primaryKey. ')');
65
+        $this->queryBuilder->select('count(' . $this->primaryKey . ')');
66 66
         return intval($this->queryBuilder->fetchOne());
67 67
     }
68 68
 
69 69
     public function fetchData(): void
70 70
     {
71 71
         foreach ($this->ordering as list($colName, $direction)) {
72
-            $dir = IOrder::ORDER_ASC == $direction ? 'ASC' : 'DESC' ;
72
+            $dir = IOrder::ORDER_ASC == $direction ? 'ASC' : 'DESC';
73 73
             $this->queryBuilder->orderBy(strval($colName), strval($dir));
74 74
         }
75 75
         if (!is_null($this->offset)) {
Please login to merge, or discard this patch.
php-src/core/AConnector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,6 +29,6 @@
 block discarded – undo
29 29
      */
30 30
     public function getByKey($key): ?IRow
31 31
     {
32
-        return $this->offsetExists($key) ? $this->translatedData[$key] : null ;
32
+        return $this->offsetExists($key) ? $this->translatedData[$key] : null;
33 33
     }
34 34
 }
Please login to merge, or discard this patch.
php-src/core/AIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     #[\ReturnTypeWillChange]
36 36
     public function offsetGet($offset)
37 37
     {
38
-        return $this->offsetExists($offset) ? $this->{$this->getIterableName()}[$offset] : null ;
38
+        return $this->offsetExists($offset) ? $this->{$this->getIterableName()}[$offset] : null;
39 39
     }
40 40
 
41 41
     public function offsetSet($offset, $value): void
Please login to merge, or discard this patch.
php-src/arrays/FilteringArrays.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     #[\ReturnTypeWillChange]
68 68
     public function offsetGet($offset)
69 69
     {
70
-        return $this->offsetExists($offset) ? $this->array[$offset] : null ;
70
+        return $this->offsetExists($offset) ? $this->array[$offset] : null;
71 71
     }
72 72
 
73 73
     /**
Please login to merge, or discard this patch.
php-src/dibi/Connector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     public function fetchData(): void
73 73
     {
74 74
         foreach (array_reverse($this->sorters) as list($colName, $direction)) {
75
-            $dir = IOrder::ORDER_ASC == $direction ? 'ASC' : 'DESC' ;
75
+            $dir = IOrder::ORDER_ASC == $direction ? 'ASC' : 'DESC';
76 76
             $this->dibiFluent->orderBy($colName, $dir);
77 77
         }
78 78
         $this->rawData = $this->dibiFluent->fetchAll($this->offset, $this->limit);
Please login to merge, or discard this patch.
php-src/nette/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 ($this->ordering as list($colName, $direction)) {
71
-            $dir = IOrder::ORDER_ASC == $direction ? 'ASC' : 'DESC' ;
71
+            $dir = IOrder::ORDER_ASC == $direction ? 'ASC' : 'DESC';
72 72
             $this->netteTable->order(strval($colName), $dir);
73 73
         }
74 74
         $this->netteTable->limit($this->limit, $this->offset);
Please login to merge, or discard this patch.
php-src/arrays/Filters/Exact.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/FromWith.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/Contains.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 preg_match('#' . preg_quote(strval($value), '#') . '#', $item->getValue($colName));
19 19
         }));
20 20
         return $this;
Please login to merge, or discard this patch.