Completed
Push — master ( 8bf0fe...b37564 )
by Song
05:18 queued 03:01
created
src/Grid/Column.php 1 patch
Doc Comments   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     /**
154 154
      * Extend column displayer.
155 155
      *
156
-     * @param $name
156
+     * @param string $name
157 157
      * @param $displayer
158 158
      */
159 159
     public static function extend($name, $displayer)
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
     /**
188 188
      * Set model for column.
189 189
      *
190
-     * @param $model
190
+     * @param Model $model
191 191
      */
192 192
     public function setModel($model)
193 193
     {
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
     /**
300 300
      * Get name of this column.
301 301
      *
302
-     * @return mixed
302
+     * @return string
303 303
      */
304 304
     public function getName()
305 305
     {
@@ -307,7 +307,6 @@  discard block
 block discarded – undo
307 307
     }
308 308
 
309 309
     /**
310
-     * @param string $name
311 310
      *
312 311
      * @return string
313 312
      */
@@ -339,7 +338,7 @@  discard block
 block discarded – undo
339 338
     /**
340 339
      * Get label of the column.
341 340
      *
342
-     * @return mixed
341
+     * @return string
343 342
      */
344 343
     public function getLabel()
345 344
     {
@@ -440,7 +439,7 @@  discard block
 block discarded – undo
440 439
      * Display using display abstract.
441 440
      *
442 441
      * @param string $abstract
443
-     * @param array  $arguments
442
+     * @param Closure[]  $arguments
444 443
      *
445 444
      * @return $this
446 445
      */
Please login to merge, or discard this patch.
src/Grid/Tools/TotalRow.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      */
88 88
     public function render()
89 89
     {
90
-        $columns = $this->getVisibleColumns()->map(function (Column $column) {
90
+        $columns = $this->getVisibleColumns()->map(function(Column $column) {
91 91
             $name = $column->getName();
92 92
 
93 93
             $total = '';
Please login to merge, or discard this patch.
src/Grid/Tools/FixColumns.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     {
79 79
         $this->grid->setView($this->view);
80 80
 
81
-        return function (Grid $grid) {
81
+        return function(Grid $grid) {
82 82
             if ($this->head > 0) {
83 83
                 $this->left = $grid->visibleColumns()->slice(0, $this->head);
84 84
             }
Please login to merge, or discard this patch.