diff options
Diffstat (limited to 'modules-available/rebootcontrol')
-rw-r--r-- | modules-available/rebootcontrol/inc/rebootcontrol.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/rebootcontrol/inc/rebootcontrol.inc.php b/modules-available/rebootcontrol/inc/rebootcontrol.inc.php index 19590670..8269b8df 100644 --- a/modules-available/rebootcontrol/inc/rebootcontrol.inc.php +++ b/modules-available/rebootcontrol/inc/rebootcontrol.inc.php @@ -305,10 +305,10 @@ class RebootControl /** * @param array $clientList list of clients containing each keys 'macaddr' and 'clientip' - * @param array $failed list of failed clients from $clientList + * @param ?array $failed list of failed clients from $clientList * @return ?string taskid of this job */ - public static function wakeMachines(array $clientList, array &$failed = []) + public static function wakeMachines(array $clientList, array &$failed = null) { $errors = ''; $sent = $unknown = $unreachable = []; |