Closed LiamM32 closed 1 year ago
Try:
$contest = new Contest;
$votesdata->setDataToAnElection($contest);
$contest->getPopulations();
Because if you call setDataToAnElection
without argument, create and return a new Election object.
Thank you. This works. In the most recent commit this program doesn't have any errors.
Currently, if there are no other errors, running this program results in the following error:
It is not clear to me why this error happens. @julien-boudry