Browse Source

On ajoute un DocBlock

dev/lister_versions
bricebou 7 months ago
parent
commit
e123f43073
  1. 8
      src/Command/CoreListerVersions.php

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

Loading…
Cancel
Save