Skip to content

Commit

Permalink
Fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
dasistwas committed Oct 15, 2023
1 parent f3faac4 commit 180dffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rule/ftpsyncfiles/rule_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,6 @@ protected function get_userid_from_filename(string $filename): int {
$userid = 0;
break;
}
return $userid;
return (int) $userid;
}
}

0 comments on commit 180dffa

Please sign in to comment.