[CORE][ENTITY] Rename 'Entity::getWithPK' to 'Entity::getByPK'

This commit is contained in:
2021-12-16 11:14:34 +00:00
committed by Diogo Peralta Cordeiro
parent 330b6b49a2
commit a81ac673ac
16 changed files with 143 additions and 157 deletions

View File

@@ -64,7 +64,7 @@ class AnswerPoll
{
$user = Common::ensureLoggedIn();
$poll = Poll::getWithPk((int) $id);
$poll = Poll::getByPk((int) $id);
if ($poll == null) {
throw new NotFoundException('Poll does not exist');
}