Skip to content
Extraits de code Groupes Projets
Valider b5139c5f rédigé par cerdic's avatar cerdic Validation de marcimat
Parcourir les fichiers

fix: typage et PHPDoc

parent 94294e6f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -1356,8 +1356,8 @@ function calculer_critere_parties($idb, &$boucles, $crit) { ...@@ -1356,8 +1356,8 @@ function calculer_critere_parties($idb, &$boucles, $crit) {
* @param string $total_parties Valeur ou code pour trouver la fin (j dans {i,j}) * @param string $total_parties Valeur ou code pour trouver la fin (j dans {i,j})
* @return void * @return void
**/ **/
function calculer_parties(&$boucles, $id_boucle, $debut, $mode, $total_parties = null) { function calculer_parties(&$boucles, $id_boucle, $debut, $mode, ?string $total_parties = null) {
// @deprecated, compatibilite // @deprecated 5.0 compatibilite
if (is_null($total_parties)) { if (is_null($total_parties)) {
$total_parties = $boucles[$id_boucle]->total_parties; $total_parties = $boucles[$id_boucle]->total_parties;
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter