Completed
Push — master ( aaa409...98f154 )
by Timo
04:23
created
src/Models/Column.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     /**
60 60
      * @return null|Relation
61 61
      */
62
-    public function getRelation(): ?Relation
62
+    public function getRelation(): ? Relation
63 63
     {
64 64
         return $this->_relation;
65 65
     }
Please login to merge, or discard this patch.
src/Models/DataTable.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
         /** @var Column $column */
159 159
         $column = \array_first(
160 160
             $this->_columns,
161
-            function ($index, $column) use ($columnName)
161
+            function($index, $column) use ($columnName)
162 162
             {
163 163
                 /** @var Column $column */
164 164
                 return $column->getName() === $columnName;
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
     private function _fetchHeaders(): array
294 294
     {
295 295
         return array_map(
296
-            function ($column)
296
+            function($column)
297 297
             {
298 298
                 /** @var Column $column */
299 299
                 return new Header($column);
@@ -376,14 +376,14 @@  discard block
 block discarded – undo
376 376
      */
377 377
     private function _getColumnNames(): array
378 378
     {
379
-        return \array_map(function ($column)
379
+        return \array_map(function($column)
380 380
         {
381 381
             /** @var Column $column */
382 382
             return $column->getName();
383 383
         },
384 384
             \array_filter(
385 385
                 $this->_columns,
386
-                function ($column)
386
+                function($column)
387 387
                 {
388 388
                     /** @var Column $column */
389 389
                     return $column->getRelation() === null;
Please login to merge, or discard this patch.