Ошибка

Non-static method Nomination::getVotedNominations() should not be called statically