@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | { |
26 | 26 | parent::__construct($name); |
27 | 27 | $this->lock = $this->lockFactory->createLock($name); |
28 | - $this->addOption('domain', ['d'], InputOption::VALUE_OPTIONAL, 'Database domain identifier'); |
|
28 | + $this->addOption('domain', ['d'], InputOption::VALUE_OPTIONAL, 'Database domain identifier'); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | protected function execute(InputInterface $input, OutputInterface $output): int |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | return Command::SUCCESS; |
53 | 53 | } |
54 | 54 | |
55 | - public function addLog(string|iterable $messages, int $options = 0, ?string $logName = 'integration') |
|
55 | + public function addLog(string | iterable $messages, int $options = 0, ?string $logName = 'integration') |
|
56 | 56 | { |
57 | 57 | $this->output->writeln($messages, $options); |
58 | 58 | $this->loggerService->getLogger($logName)->info($messages); |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | return null; |
44 | 44 | } |
45 | 45 | |
46 | - public function discoveryExtraFields(string $fieldName, string $context, ?string $configs = '{}', ?string $fieldType = 'text', ?bool $required = false): ExtraFields |
|
46 | + public function discoveryExtraFields(string $fieldName, string $context, ?string $configs = '{}', ?string $fieldType = 'text', ?bool $required = false): ExtraFields |
|
47 | 47 | { |
48 | 48 | |
49 | 49 | $extraFields = $this->manager->getRepository(ExtraFields::class)->findOneBy([ |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | |
117 | 117 | //$this->manager->persist($entity); |
118 | 118 | } else { |
119 | - $json = json_decode($this->request->getContent(), true); |
|
119 | + $json = json_decode($this->request->getContent(), true); |
|
120 | 120 | $extra_data = isset($json['extra-data']) ? $json['extra-data'] : null; |
121 | 121 | if (!$extra_data) |
122 | 122 | return; |