From bbeb16fba897760022fbe6bf76c5141aff6b9ad5 Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Tue, 13 Aug 2024 11:15:20 +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 7d20cb6..2ee8500 100644 --- a/git.inc.php +++ b/git.inc.php @@ -62,7 +62,7 @@ function get_git_last_remote_tag(string $repo) : mixed return _get_last_version_tag($remote_tags); } -function _get_last_version_tag(array $tags) : string|bool +function _get_last_version_tag(array $tags) : mixed { if(!$tags) return false;