Skip to content

Commit

Permalink
move path from constructor to ->auto
Browse files Browse the repository at this point in the history
  • Loading branch information
amyisme13 committed Apr 22, 2021
1 parent 45691a7 commit ae431d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/RawDataGetter.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ public static function getVillages()
*/
public static function getCsvData($path = '')
{
$csv = new Csv($path);
$csv = new Csv();
$csv->auto($path);

return $csv->data;
}
Expand Down

0 comments on commit ae431d2

Please sign in to comment.