Correction de l'indentation

This commit is contained in:
Adrien CHARBONNEAU 2023-10-18 19:05:33 +02:00
parent 17836fd225
commit c58bee231f

View File

@ -41,22 +41,17 @@ Bonne lecture ! -->
<body class="is-preload"> <body class="is-preload">
<?php <?php
class Version {
class Version public static function get() {
{ $tag = trim(exec('git describe --tags --abbrev=0'));
return sprintf('%s', $tag);
public static function get()
{
$tag = trim(exec('git describe --tags --abbrev=0'));
return sprintf('%s', $tag);
}
} }
}
// echo 'Version du site : ' . Version::get(); // echo 'Version du site : ' . Version::get();
?> ?>
<!-- En-tête --> <!-- En-tête -->
<section id="header"> <section id="header">