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');