Completed
Push — master ( 5fc65a...affc4f )
by Song
02:25
created
src/Grid/Column/InputFilter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      *
29 29
      * @param string $value
30 30
      *
31
-     * @param Model|null $model
31
+     * @param Model $model
32 32
      */
33 33
     public function addBinding($value, Model $model)
34 34
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         }
43 43
 
44 44
         if (in_array($this->type, ['date', 'time'])) {
45
-            $method = 'where' . ucfirst($this->type);
45
+            $method = 'where'.ucfirst($this->type);
46 46
             $model->{$method}($this->getColumnName(), $value);
47 47
             return;
48 48
         }
Please login to merge, or discard this patch.
src/Grid/Column/Help.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
             'title'     => $this->message,
38 38
         ];
39 39
 
40
-        $data = collect($data)->map(function ($val, $key) {
40
+        $data = collect($data)->map(function($val, $key) {
41 41
             return "data-{$key}=\"{$val}\"";
42 42
         })->implode(' ');
43 43
 
Please login to merge, or discard this patch.
src/Grid/Column/CheckFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     {
78 78
         $value = $this->getFilterValue([]);
79 79
 
80
-        $lists = collect($this->options)->map(function ($label, $key) use ($value) {
80
+        $lists = collect($this->options)->map(function($label, $key) use ($value) {
81 81
             $checked = in_array($key, $value) ? 'checked' : '';
82 82
 
83 83
             return <<<HTML
Please login to merge, or discard this patch.
src/Grid/Column/RangeFilter.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
      */
36 36
     public function addBinding($value, Model $model)
37 37
     {
38
-        $value = array_filter((array)$value);
38
+        $value = array_filter((array) $value);
39 39
 
40 40
         if (empty($value)) {
41 41
             return;
Please login to merge, or discard this patch.