@@ -309,7 +309,7 @@ |
||
309 | 309 | * Perform case insensitive column search. |
310 | 310 | * |
311 | 311 | * @param int $i |
312 | - * @param mixed $column |
|
312 | + * @param string $column |
|
313 | 313 | * @param string $keyword |
314 | 314 | */ |
315 | 315 | protected function caseInsensitiveColumnSearch($i, $column, $keyword) |
@@ -770,7 +770,7 @@ |
||
770 | 770 | * Get column name by order column index. |
771 | 771 | * |
772 | 772 | * @param int $index |
773 | - * @return mixed |
|
773 | + * @return boolean|string |
|
774 | 774 | */ |
775 | 775 | protected function getColumnNameByIndex($index) |
776 | 776 | { |
@@ -149,7 +149,7 @@ |
||
149 | 149 | /** |
150 | 150 | * Get columns definition from html builder. |
151 | 151 | * |
152 | - * @return array |
|
152 | + * @return \Illuminate\Support\Collection |
|
153 | 153 | */ |
154 | 154 | protected function getColumnsFromBuilder() |
155 | 155 | { |
@@ -335,10 +335,10 @@ |
||
335 | 335 | $orientation = Config::get('datatables.snappy.orientation', 'landscape'); |
336 | 336 | |
337 | 337 | $snappy->setOptions($options) |
338 | - ->setOrientation($orientation); |
|
338 | + ->setOrientation($orientation); |
|
339 | 339 | |
340 | 340 | return $snappy->loadHTML($this->printPreview()) |
341 | - ->download($this->getFilename() . ".pdf"); |
|
341 | + ->download($this->getFilename() . ".pdf"); |
|
342 | 342 | } |
343 | 343 | |
344 | 344 | /** |