Skip to content

Commit 7b647e2

Browse files
Mary-Clborthagh
authored andcommitted
fix cs errors
1 parent f43c72b commit 7b647e2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function plugin_centreon_install($version)
6666
$decrypted_pwd = @(new GLPIKey())->decrypt($centreon_password);
6767
if ($decrypted_pwd == '') {
6868
Config::setConfigurationValues('plugin:centreon', [
69-
'centreon-password' => (new GLPIKey())->encrypt($centreon_password)
69+
'centreon-password' => (new GLPIKey())->encrypt($centreon_password),
7070
]);
7171
}
7272
}

setup.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ function plugin_init_centreon()
5959
$PLUGIN_HOOKS[Hooks::PRE_ITEM_UPDATE]['centreon'] = [
6060
\Config::class => [
6161
GlpiPlugin\Centreon\Config::class,
62-
'prepareConfigUpdate'
63-
]
62+
'prepareConfigUpdate',
63+
],
6464
];
6565

6666

0 commit comments

Comments
 (0)