Remove TODO line. Add parameter type for the entitymanager. #255

This commit is contained in:
Korina Cordero 2019-08-22 10:58:59 +00:00
parent ce83ed689b
commit 1425d82e99

View file

@ -494,7 +494,7 @@ class ReportController extends Controller
}
protected function processPopappFile(UploadedFile $csv_file, $em)
protected function processPopappFile(UploadedFile $csv_file, EntityManagerInterface $em)
{
// attempt to open file
try
@ -510,7 +510,6 @@ class ReportController extends Controller
$row_num = 0;
$results = [];
// TODO: first loop populate the result array
while(($fields = fgetcsv($fh)) !== false)
{
//error_log($row_num . ' ' . trim($fields[2]));