Skip to content

Commit dddb248

Browse files
committed
QA Issues around #6170 - Strict typing
1 parent 0a8900b commit dddb248

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/api_automation.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3655,9 +3655,10 @@ function automation_add_tree(int $host_id, int $tree): void {
36553655
* @param string $sysDescr The system description.
36563656
* @param string $sysObject The system object identifier.
36573657
* @param string $sysName The system name.
3658-
* @return string|false The identified operating system.
3658+
*
3659+
* @return array|false The identified operating system.
36593660
*/
3660-
function automation_find_os(string $sysDescr, string $sysObject, string $sysName): string|false {
3661+
function automation_find_os(string $sysDescr, string $sysObject, string $sysName): array|false {
36613662
$sql_where = '';
36623663

36633664
if ($sysDescr != '') {

0 commit comments

Comments
 (0)