We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 374f269 commit ced43ceCopy full SHA for ced43ce
1 file changed
src/CsvExporterService.php
@@ -18,7 +18,7 @@ class CsvExporterService
18
*/
19
public function model(Model $model, array $headers = ['*'])
20
{
21
- if (!method_exists($model, 'exportToCvs')) {
+ if (!method_exists($model, 'toCsv')) {
22
throw new InvalidArgumentException('Model must use \Bow\Csv\CsvExporterTrait::class trait');
23
}
24
0 commit comments