Nette 3.0 fixes

This commit is contained in:
2022-01-23 21:31:02 +01:00
parent 9b57474dee
commit 431961ed8f
10 changed files with 249 additions and 29 deletions

View File

@@ -7,7 +7,7 @@ use Doctrine\ORM\Mapping as ORM;
use App\Model\Database\Entity\Attributes\TId;
/**
* @ORM\Entity(repositoryClass="App\Model\Database\Repository\TermRepository")
* @ORM\Entity(repositoryClass="App\Model\Database\Repository\TranslationRepository")
* @ORM\Table(name="`translation`")
* @ORM\HasLifecycleCallbacks
*/
@@ -71,7 +71,7 @@ class Translation extends AbstractEntity
*/
protected $direction;
public function getDirection()
public function getDirection() : int
{
return $this->direction;
}