Skip to content

Commit ced43ce

Browse files
committed
fix: bug fix
1 parent 374f269 commit ced43ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CsvExporterService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class CsvExporterService
1818
*/
1919
public function model(Model $model, array $headers = ['*'])
2020
{
21-
if (!method_exists($model, 'exportToCvs')) {
21+
if (!method_exists($model, 'toCsv')) {
2222
throw new InvalidArgumentException('Model must use \Bow\Csv\CsvExporterTrait::class trait');
2323
}
2424

0 commit comments

Comments
 (0)