Passed
Pull Request — master (#161)
by Arman
04:01
created
src/Libraries/Database/Sleekdb/Statements/Result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function get(): array
42 42
     {
43
-        return array_map(function ($element) {
43
+        return array_map(function($element) {
44 44
             $item = clone $this;
45 45
             $item->data = $element;
46 46
             $item->modifiedFields = $element;
Please login to merge, or discard this patch.
src/Libraries/Database/BasePaginator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
      */
138 138
     public function lastPageNumber(): int
139 139
     {
140
-        return (int)ceil($this->total() / $this->perPage);
140
+        return (int) ceil($this->total() / $this->perPage);
141 141
     }
142 142
 
143 143
     /**
Please login to merge, or discard this patch.