Fix interface controller
This commit is contained in:
parent
3bbaa822c1
commit
8547080eb8
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue