@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | if (!function_exists('grid_column')) { |
17 | 17 | /** |
18 | 18 | * @param Grid\Column $column |
19 | - * @return string |
|
19 | + * @return Illuminate\Support\HtmlString |
|
20 | 20 | */ |
21 | 21 | function grid_column(Grid\Column $column) |
22 | 22 | { |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | if (!function_exists('grid_filter')) { |
48 | 48 | /** |
49 | 49 | * @param Grid\Column $column |
50 | - * @return string |
|
50 | + * @return Illuminate\Support\HtmlString |
|
51 | 51 | */ |
52 | 52 | function grid_filter(Grid\Column $column) |
53 | 53 | { |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | if (!function_exists('grid_row')) { |
65 | 65 | /** |
66 | 66 | * @param Grid\Row $row |
67 | - * @return string |
|
67 | + * @return Illuminate\Support\HtmlString |
|
68 | 68 | */ |
69 | 69 | function grid_row(Grid\Row $row) |
70 | 70 | { |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | if (!function_exists('grid_cell')) { |
81 | 81 | /** |
82 | 82 | * @param Grid\CellInterface $cell |
83 | - * @return string |
|
83 | + * @return Illuminate\Support\HtmlString |
|
84 | 84 | */ |
85 | 85 | function grid_cell(Grid\CellInterface $cell) |
86 | 86 | { |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | $text = $column->getTitle(); |
41 | 41 | } |
42 | 42 | |
43 | - return $column->getGrid()->getHtmlBuilder()->tag('th', (string)$text); |
|
43 | + return $column->getGrid()->getHtmlBuilder()->tag('th', (string) $text); |
|
44 | 44 | } |
45 | 45 | } |
46 | 46 | |
@@ -54,10 +54,10 @@ discard block |
||
54 | 54 | $filter = ''; |
55 | 55 | |
56 | 56 | if ($column->isFilterable()) { |
57 | - $filter = (string)$column->getFilter()->render(); |
|
57 | + $filter = (string) $column->getFilter()->render(); |
|
58 | 58 | } |
59 | 59 | |
60 | - return $column->getGrid()->getHtmlBuilder()->tag('th', (string)$filter); |
|
60 | + return $column->getGrid()->getHtmlBuilder()->tag('th', (string) $filter); |
|
61 | 61 | } |
62 | 62 | } |
63 | 63 |