@@ -45,8 +45,7 @@ |
||
45 | 45 | $context = $this->getLaravel()->make( 'Aimeos\Shop\Base\Context' )->get( false, 'command' ); |
46 | 46 | $context->setEditor( 'aimeos:clear' ); |
47 | 47 | |
48 | - $fcn = function( \Aimeos\MShop\Context\Item\Iface $lcontext ) |
|
49 | - { |
|
48 | + $fcn = function( \Aimeos\MShop\Context\Item\Iface $lcontext ) { |
|
50 | 49 | $cache = new \Aimeos\MAdmin\Cache\Proxy\Standard( $lcontext ); |
51 | 50 | $lcontext->setCache( $cache ); |
52 | 51 |
@@ -49,8 +49,7 @@ |
||
49 | 49 | $process = $context->getProcess(); |
50 | 50 | $jobs = explode( ' ', $this->argument( 'jobs' ) ); |
51 | 51 | |
52 | - $fcn = function( \Aimeos\MShop\Context\Item\Iface $lcontext, \Aimeos\Bootstrap $aimeos ) use ( $process, $jobs ) |
|
53 | - { |
|
52 | + $fcn = function( \Aimeos\MShop\Context\Item\Iface $lcontext, \Aimeos\Bootstrap $aimeos ) use ( $process, $jobs ) { |
|
54 | 53 | $this->info( sprintf( 'Executing Aimeos jobs for "%s"', $lcontext->getLocale()->getSiteItem()->getCode() ), 'v' ); |
55 | 54 | |
56 | 55 | $jobfcn = function( $context, $aimeos, $jobname ) { |