From 64504e8b8fb097d6e849953eb0e4721321c41a27 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 11 Sep 2023 10:21:36 +0200 Subject: add optional operator to rpmcmpver for consistency with version_compare --- rpminfo.stub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpminfo.stub.php') diff --git a/rpminfo.stub.php b/rpminfo.stub.php index 543cc5f..022ccd4 100644 --- a/rpminfo.stub.php +++ b/rpminfo.stub.php @@ -10,6 +10,6 @@ function rpmdbsearch(string $pattern, int $rpmtag = RPMTAG_NAME, int $rpmmire = function rpminfo(string $path, bool $full = false, ?string &$error = null): Array|null {} -function rpmvercmp(string $evr1, string $evr2): int {} +function rpmvercmp(string $evr1, string $evr2, ?string $operator = null): int|bool {} -- cgit