From 9cbde9a855d458d7230181ae710fc907c201804a Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Tue, 13 Aug 2024 11:12:53 +0300 Subject: [PATCH] Downgrading to PHP7 compatibility --- git.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git.inc.php b/git.inc.php index 8c2d4fa..7d20cb6 100644 --- a/git.inc.php +++ b/git.inc.php @@ -44,7 +44,7 @@ function git_rev_from_commit_message(string $message) : string return $commit_hash; } -function get_git_last_remote_tag(string $repo) : string|bool +function get_git_last_remote_tag(string $repo) : mixed { $remote_tags = []; git_do($repo, 'ls-remote --tags origin', $output, false);