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

chore: Typage sur `joli_repertoire()`

Refs: #5809
parent 69a86360
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -21,7 +21,7 @@ function test_plugin_actif($plugin) {
* @param string $rep Chemin d’un répertoire
* @return string
*/
function joli_repertoire($rep) {
function joli_repertoire(?string $rep): string {
if ($rep === '' || $rep === null) {
return '';
}
......
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