diff --git a/src/Api/InterfaceControllerProvider.php b/src/Api/InterfaceControllerProvider.php index ac0268e..16533b0 100644 --- a/src/Api/InterfaceControllerProvider.php +++ b/src/Api/InterfaceControllerProvider.php @@ -26,7 +26,7 @@ class InterfaceControllerProvider implements ControllerProviderInterface $controllers->get('/images', function (Application $app) { - $getEmoBlocks = function($emotion, $feature, $steps = 6) use($em) { + $getEmoBlocks = function($emotion, $feature, $steps = 6) { $hitRepo = $this->_eh->getEm()->getRepository(EmotionHero\Models\Hit::class); $blocks = []; foreach(range(0, 100, 100/($steps-1)) as $i) {