@@ -86,9 +86,9 @@ |
||
86 | 86 | */ |
87 | 87 | public function registerEvents(): void |
88 | 88 | { |
89 | - $events = \array_map(function (AbstractEvent $event) { |
|
89 | + $events = \array_map(function(AbstractEvent $event) { |
|
90 | 90 | return $event->getEventName(); |
91 | - }, \array_filter($this->getApplication()->all(), function (Command $command) { |
|
91 | + }, \array_filter($this->getApplication()->all(), function(Command $command) { |
|
92 | 92 | return $command instanceof AbstractEvent && !$command->isHidden(); |
93 | 93 | })); |
94 | 94 | Aenthill::update(null, $events); |
@@ -85,10 +85,10 @@ |
||
85 | 85 | public function toArray(): array |
86 | 86 | { |
87 | 87 | return [ |
88 | - 'PROVIDER_NAME' => $this->name, |
|
89 | - 'CERT_MANAGER' => $this->certManager ? 'true' : 'false', |
|
90 | - 'USE_NODE_PORT_FOR_INGRESS' => $this->useNodePortForIngress ? 'true' : 'false', |
|
91 | - 'INGRESS_CLASS' => $this->ingressClass, |
|
88 | + 'PROVIDER_NAME' => $this->name, |
|
89 | + 'CERT_MANAGER' => $this->certManager ? 'true' : 'false', |
|
90 | + 'USE_NODE_PORT_FOR_INGRESS' => $this->useNodePortForIngress ? 'true' : 'false', |
|
91 | + 'INGRESS_CLASS' => $this->ingressClass, |
|
92 | 92 | ]; |
93 | 93 | } |
94 | 94 |