@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use N98\Magento\Application; |
| 6 | 6 | use N98\Magento\Application\ApplicationAwareInterface; |
| 7 | -use N98\Magento\Application\Console\Event; |
|
| 8 | 7 | use N98\Magento\Application\Console\Events; |
| 9 | 8 | use Symfony\Component\Console\Event\ConsoleEvent; |
| 10 | 9 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
@@ -297,7 +297,7 @@ |
||
| 297 | 297 | $dbHost = $this->config->getString('db_host'); |
| 298 | 298 | |
| 299 | 299 | if ($this->config->getInt('db_port') !== 3306) { |
| 300 | - $dbHost .= ':' . (string)$this->config->getInt('db_port'); |
|
| 300 | + $dbHost .= ':' . (string) $this->config->getInt('db_port'); |
|
| 301 | 301 | |
| 302 | 302 | return $dbHost; |
| 303 | 303 | } |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | ->addOption('consumer-secret', '', InputOption::VALUE_REQUIRED, 'Consumer Secret (length 32 chars)') |
| 70 | 70 | ->addOption('access-token', '', InputOption::VALUE_REQUIRED, 'Access-Token (length 32 chars)') |
| 71 | 71 | ->addOption('access-token-secret', '', InputOption::VALUE_REQUIRED, 'Access-Token Secret (length 32 chars)') |
| 72 | - ->addOption('resource', 'r', InputOption::VALUE_IS_ARRAY|InputOption::VALUE_REQUIRED, 'Defines a granted ACL resource', []) |
|
| 72 | + ->addOption('resource', 'r', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Defines a granted ACL resource', []) |
|
| 73 | 73 | ->setDescription('Create a new integration'); |
| 74 | 74 | |
| 75 | 75 | $help = <<<HELP |
@@ -82,7 +82,7 @@ |
||
| 82 | 82 | |
| 83 | 83 | $output->writeln($flattenArray[$keyToShow]); |
| 84 | 84 | } else { |
| 85 | - $table =[]; |
|
| 85 | + $table = []; |
|
| 86 | 86 | |
| 87 | 87 | foreach ($flattenArray as $configKey => $configValue) { |
| 88 | 88 | $table[] = [ |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | * @param string $indent |
| 14 | 14 | * @return string|null |
| 15 | 15 | */ |
| 16 | - public static function exportVariable($var, $indent='') |
|
| 16 | + public static function exportVariable($var, $indent = '') |
|
| 17 | 17 | { |
| 18 | 18 | switch (gettype($var)) { |
| 19 | 19 | case 'string': |