Fix interface controller

This commit is contained in:
Ruben 2016-11-03 00:18:07 +01:00
parent 8547080eb8
commit e5f890438e
1 changed files with 1 additions and 1 deletions

View File

@ -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 */