From e123f43073dd8c49efc61d9765cd106330e5c8fc Mon Sep 17 00:00:00 2001 From: bricebou Date: Fri, 29 Apr 2022 22:16:53 +0200 Subject: [PATCH] On ajoute un DocBlock --- src/Command/CoreListerVersions.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Command/CoreListerVersions.php b/src/Command/CoreListerVersions.php index 0e92f9f..88adfd9 100644 --- a/src/Command/CoreListerVersions.php +++ b/src/Command/CoreListerVersions.php @@ -58,7 +58,6 @@ class CoreListerVersions extends Command { * @param mixed $type * @return array $liste */ - public static function listerVersions(string $type = 'branches') { $liste = []; @@ -89,6 +88,13 @@ class CoreListerVersions extends Command { return $liste; } + /** + * trouverVersionStable + * + * @param optional array $branches + * @param optional array $tags + * @return string dernier_tag_xy + */ public static function trouverVersionStable(?array $branches = [], ?array $tags = []) { if (empty($branches)) { $branches = self::listerVersions('branches');