1 | <?php |
||
12 | class DateHeure { |
||
13 | public static $annee; |
||
14 | public static $mois; |
||
15 | public static $jour; |
||
16 | |||
17 | |||
18 | |||
19 | /** |
||
20 | * Fonction pour passer du format H:m en seconde |
||
21 | * @param int $heure recoit l'heure a passer en minute |
||
22 | * @param int $minute recoit les minutes a passer en minute |
||
23 | * @return double|null |
||
24 | **/ |
||
25 | public static function Heureenseconde($heure, $minute) { |
||
38 | |||
39 | /** |
||
40 | * passe des secondes au format H:m |
||
41 | * @return string |
||
42 | */ |
||
43 | public static function Secondeenheure($seconde) { |
||
58 | |||
59 | /** |
||
60 | * fonction qui change le format heure 12:10 en 12h10 |
||
61 | * @param $temps |
||
62 | * @return mixed |
||
63 | */ |
||
64 | public static function ChangerFormatHeure($temps) { |
||
76 | |||
77 | /** |
||
78 | * affiche la date du jour au format jeudi 12 janvier |
||
79 | * @param integer $date si NULL on prend la date du jour sinon on prend la date qui est mise |
||
80 | * @param int $abreger si NOT NULL, on abrege la date, on enleve la semaine et on coupe le mois à 3 lettres |
||
|
|||
81 | * @return string |
||
82 | */ |
||
83 | public static function date_fr_texte($date = 0) { |
||
118 | |||
119 | /** |
||
120 | * Transformation de la date format YYYY-mm-jj en jj/mm/aaaa |
||
121 | * @param string $date corespond a la date au format YYYY-mm-jj |
||
122 | * @return string |
||
123 | */ |
||
124 | public static function modif_date_affichage($date) { |
||
145 | |||
146 | /** |
||
147 | * Transformation de la date format jj/mm/aaaa en YYYY-mm-jj pour insertion bdd |
||
148 | * @param string $date corespond a la date au format jj/mm/aaaa |
||
149 | * @return string |
||
150 | */ |
||
151 | public static function modif_date_bdd($date) { |
||
168 | |||
169 | /** |
||
170 | * fonction qui permet de passer une date d'une bdd en tableau |
||
171 | * @param $date |
||
172 | * @return array |
||
173 | */ |
||
174 | public static function dateBddToArray($date) { |
||
179 | } |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.