@@ -381,7 +381,7 @@ |
||
| 381 | 381 | |
| 382 | 382 | /** |
| 383 | 383 | * @param string $label of exporting file |
| 384 | - * @return Export |
|
| 384 | + * @return BaseExport |
|
| 385 | 385 | * |
| 386 | 386 | * @deprecated |
| 387 | 387 | */ |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | /** |
| 85 | 85 | * Sets a limit which will be used in order to retrieve data from datasource. |
| 86 | 86 | * @param int $limit |
| 87 | - * @return \Grido\Components\Export |
|
| 87 | + * @return BaseExport |
|
| 88 | 88 | */ |
| 89 | 89 | public function setFetchLimit($limit) |
| 90 | 90 | { |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | /** |
| 104 | 104 | * Sets a custom header of result CSV file (list of field names). |
| 105 | 105 | * @param array $header |
| 106 | - * @return \Grido\Components\Export |
|
| 106 | + * @return BaseExport |
|
| 107 | 107 | */ |
| 108 | 108 | public function setHeader(array $header) |
| 109 | 109 | { |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | * Sets a callback to modify output data. This callback must return a list of items. (array) function($datasource) |
| 116 | 116 | * DEBUG? You probably need to comment lines started with $httpResponse->setHeader in Grido\Components\Export.php |
| 117 | 117 | * @param callable $callback |
| 118 | - * @return \Grido\Components\Export |
|
| 118 | + * @return BaseExport |
|
| 119 | 119 | */ |
| 120 | 120 | public function setCustomData($callback) |
| 121 | 121 | { |