@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * {@inheritdoc} |
13 | 13 | */ |
14 | - public function registerBundles() : \Traversable|array |
|
14 | + public function registerBundles() : \Traversable | array |
|
15 | 15 | { |
16 | 16 | return array( |
17 | 17 | new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(), |
@@ -23,7 +23,7 @@ |
||
23 | 23 | * @package symfony |
24 | 24 | * @subpackage Command |
25 | 25 | */ |
26 | -#[AsCommand(name: 'aimeos:jobs', description: 'Executes the job controllers')] |
|
26 | +#[AsCommand( name: 'aimeos:jobs', description: 'Executes the job controllers' )] |
|
27 | 27 | class JobsCommand extends Command |
28 | 28 | { |
29 | 29 | private $container; |
@@ -23,7 +23,7 @@ |
||
23 | 23 | * @package symfony |
24 | 24 | * @subpackage Command |
25 | 25 | */ |
26 | -#[AsCommand(name: 'aimeos:clear', description: 'Clears the content cache')] |
|
26 | +#[AsCommand( name: 'aimeos:clear', description: 'Clears the content cache' )] |
|
27 | 27 | class ClearCommand extends Command |
28 | 28 | { |
29 | 29 | private $container; |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * @package symfony |
25 | 25 | * @subpackage Command |
26 | 26 | */ |
27 | -#[AsCommand(name: 'aimeos:setup', description: 'Initialize or update the Aimeos database tables')] |
|
27 | +#[AsCommand( name: 'aimeos:setup', description: 'Initialize or update the Aimeos database tables' )] |
|
28 | 28 | class SetupCommand extends Command |
29 | 29 | { |
30 | 30 | private $container; |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * @package symfony |
25 | 25 | * @subpackage Command |
26 | 26 | */ |
27 | -#[AsCommand(name: 'aimeos:account', description: 'Creates new (admin) accounts')] |
|
27 | +#[AsCommand( name: 'aimeos:account', description: 'Creates new (admin) accounts' )] |
|
28 | 28 | class AccountCommand extends Command |
29 | 29 | { |
30 | 30 | private $container; |
@@ -94,7 +94,7 @@ |
||
94 | 94 | */ |
95 | 95 | protected function addCache( \Aimeos\MShop\ContextIface $context ) : \Aimeos\MShop\ContextIface |
96 | 96 | { |
97 | - $cache = (new \Aimeos\MAdmin\Cache\Manager\Standard( $context ))->getCache(); |
|
97 | + $cache = ( new \Aimeos\MAdmin\Cache\Manager\Standard( $context ) )->getCache(); |
|
98 | 98 | |
99 | 99 | return $context->setCache( $cache ); |
100 | 100 | } |