Nette 3.0 fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user