1 | <?php |
||
13 | class ColumnFilters extends Extension implements Initializable, Placable |
||
14 | { |
||
15 | use HtmlAttributes; |
||
16 | |||
17 | /** |
||
18 | * @var ColumnFilterInterface[] |
||
19 | */ |
||
20 | protected $columnFilters = []; |
||
21 | |||
22 | /** |
||
23 | * @var string|\Illuminate\View\View |
||
24 | */ |
||
25 | protected $view = 'display.extensions.columns_filters_table'; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $placement = 'table.footer'; |
||
31 | |||
32 | /** |
||
33 | * @param array|ColumnFilterInterface $columnFilters |
||
34 | * |
||
35 | * @return $this |
||
36 | */ |
||
37 | public function set($columnFilters) |
||
51 | |||
52 | /** |
||
53 | * @return ColumnFilterInterface[] |
||
54 | */ |
||
55 | public function all() |
||
59 | |||
60 | /** |
||
61 | * @param ColumnFilterInterface $filter |
||
62 | * |
||
63 | * @return $this |
||
64 | */ |
||
65 | public function push(ColumnFilterInterface $filter = null) |
||
71 | |||
72 | /** |
||
73 | * Remove last element. |
||
74 | */ |
||
75 | public function pop() |
||
79 | |||
80 | /** |
||
81 | * @return string|\Illuminate\View\View |
||
82 | */ |
||
83 | public function getView() |
||
87 | |||
88 | /** |
||
89 | * @param string|\Illuminate\View\View $view |
||
90 | * |
||
91 | * @return $this |
||
92 | */ |
||
93 | public function setView($view) |
||
99 | |||
100 | /** |
||
101 | * @return string |
||
102 | */ |
||
103 | public function getPlacement() |
||
107 | |||
108 | /** |
||
109 | * @param string $placement |
||
110 | * |
||
111 | * @return $this |
||
112 | */ |
||
113 | public function setPlacement($placement) |
||
119 | |||
120 | /** |
||
121 | * @deprecated use getPlacement() |
||
122 | * @return string |
||
123 | */ |
||
124 | public function getPosition() |
||
128 | |||
129 | /** |
||
130 | * @deprecated use setPlacement(string $placement) |
||
131 | * @param string $position |
||
132 | * |
||
133 | * @return $this |
||
134 | */ |
||
135 | public function setPosition($position) |
||
139 | |||
140 | /** |
||
141 | * Get the instance as an array. |
||
142 | * |
||
143 | * @return array |
||
144 | */ |
||
145 | public function toArray() |
||
155 | |||
156 | /** |
||
157 | * Initialize class. |
||
158 | */ |
||
159 | public function initialize() |
||
186 | |||
187 | /** |
||
188 | * @param \Illuminate\Database\Eloquent\Builder $query |
||
189 | */ |
||
190 | public function modifyQuery(\Illuminate\Database\Eloquent\Builder $query) |
||
220 | |||
221 | protected function validNumberOfFilters() |
||
236 | |||
237 | protected function prepareView() |
||
246 | } |
||
247 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..