Passed
Push — master ( 204231...07cd78 )
by Petr
03:21 queued 14s
created
php-src/Sources/Nette/MariaDb.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
             return [];
126 126
         }
127 127
         if ($options->skipCurrent) {
128
-            unset($result[count($result)-1]);
128
+            unset($result[count($result) - 1]);
129 129
         }
130 130
 
131 131
         return $this->fromDbRows($result);
Please login to merge, or discard this patch.
php-src/Sources/Nette/MySql.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
             return [];
182 182
         }
183 183
         if ($options->skipCurrent) {
184
-            unset($result[count($result)-1]);
184
+            unset($result[count($result) - 1]);
185 185
         }
186 186
 
187 187
         return $this->fromDbRows($result);
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
         return $result;
351 351
     }
352 352
 
353
-    protected function fillDataFromRow(Row|ActiveRow $row) : Support\Node
353
+    protected function fillDataFromRow(Row | ActiveRow $row) : Support\Node
354 354
     {
355 355
         $data = clone $this->nodeBase;
356 356
         foreach ($row as $k => $v) {
@@ -560,7 +560,7 @@  discard block
 block discarded – undo
560 560
      */
561 561
     protected function filteredEntries(array $entries) : array
562 562
     {
563
-        return array_filter($entries, function ($entry) : bool {
563
+        return array_filter($entries, function($entry) : bool {
564 564
             return is_null($entry) || is_numeric($entry) || is_string($entry);
565 565
         });
566 566
     }
Please login to merge, or discard this patch.