Refactoring des fonctions d'URLs #4811
Merged
cerdic
merged 9 commits from issue_3311
into master
4 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'issue_3311'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Suite de spip/spip#5000
Refactoring des fonctions d'urls pour une ecriture plus claire et mieux typee des fonctions avec 2 points d'entree pour decodage/generer l'url
* @param string $ancre
* @return string
*/
function urls_html_generer_url_objet_dist(int $id, string $objet, string $args = '', string $ancre = '') : string {
En général il n’y a pas d’espace avant le
:
du typage du retour, soit doncstring $ancre = ''): string {
mais un coup de fixer corrigera plus tard.
[WIP] Refactoring des fonctions d'URLsto Refactoring des fonctions d'URLs 4 months agoReviewers
831af16059
.