@@ -61,6 +61,7 @@ discard block |
||
61 | 61 | |
62 | 62 | /** |
63 | 63 | * Tirardaqui |
64 | + * @param string $folder |
|
64 | 65 | */ |
65 | 66 | public function importFromFolder($folder) |
66 | 67 | { |
@@ -74,6 +75,10 @@ discard block |
||
74 | 75 | // $collections = (new FastExcel) |
75 | 76 | ->import( |
76 | 77 | storage_path('app/'.$file), |
78 | + |
|
79 | + /** |
|
80 | + * @param string $line |
|
81 | + */ |
|
77 | 82 | function ($line) use ($fileName, $assuntosDaPasta) { |
78 | 83 | $modelClass = RespectiveModel::run( |
79 | 84 | $assuntosDaPasta, |