From e5f890438ee60eae8a85bec17389d7ae76ae5174 Mon Sep 17 00:00:00 2001 From: Ruben Date: Thu, 3 Nov 2016 00:18:07 +0100 Subject: [PATCH] Fix interface controller --- src/Api/InterfaceControllerProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/InterfaceControllerProvider.php b/src/Api/InterfaceControllerProvider.php index 16533b0..fc2864b 100644 --- a/src/Api/InterfaceControllerProvider.php +++ b/src/Api/InterfaceControllerProvider.php @@ -27,7 +27,7 @@ class InterfaceControllerProvider implements ControllerProviderInterface $controllers->get('/images', function (Application $app) { $getEmoBlocks = function($emotion, $feature, $steps = 6) { - $hitRepo = $this->_eh->getEm()->getRepository(EmotionHero\Models\Hit::class); + $hitRepo = $this->_eh->getEm()->getRepository(Models\Hit::class); $blocks = []; foreach(range(0, 100, 100/($steps-1)) as $i) { /* @var $hitRepo EmotionHero\Models\HitRepository */