Remove TODO line. Add parameter type for the entitymanager. #255
This commit is contained in:
parent
ce83ed689b
commit
1425d82e99
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
// attempt to open file
|
||||||
try
|
try
|
||||||
|
|
@ -510,7 +510,6 @@ class ReportController extends Controller
|
||||||
$row_num = 0;
|
$row_num = 0;
|
||||||
$results = [];
|
$results = [];
|
||||||
|
|
||||||
// TODO: first loop populate the result array
|
|
||||||
while(($fields = fgetcsv($fh)) !== false)
|
while(($fields = fgetcsv($fh)) !== false)
|
||||||
{
|
{
|
||||||
//error_log($row_num . ' ' . trim($fields[2]));
|
//error_log($row_num . ' ' . trim($fields[2]));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue