From 89396dfef3fb60ddf3e42dc2065a2512c028065d Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Sun, 28 Oct 2018 15:46:55 +0100 Subject: [PATCH] Optimized references --- application/src/Controller/SourceController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/src/Controller/SourceController.php b/application/src/Controller/SourceController.php index 0945f15..69735d6 100644 --- a/application/src/Controller/SourceController.php +++ b/application/src/Controller/SourceController.php @@ -12,7 +12,7 @@ use App\Creator\Factory\Template\Source\SourceTemplateFormFactory; use App\Creator\Factory\Form\Source\SourceFormFactory; use Symfony\Component\HttpFoundation\RedirectResponse; use App\Entity\Source\AbstractSource; -use App\Entity\NodeInterface; +use App\Entity\Meta\RelationInterface; /** * @@ -68,7 +68,7 @@ class SourceController extends AbstractEntityController return $this->redirectToRouteById('app_node_show',$nodeId); } - private function loadNodeById(int $id):NodeInterface{ + private function loadNodeById(int $id):RelationInterface{ return $this->loadEntityById($id)->getNode(); }