Passed
Push — master ( 44f182...c7a958 )
by Anthony
03:07
created
core/Configuration.class.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -59,6 +59,10 @@
 block discarded – undo
59 59
         public function getNomSite(){
60 60
             return $this->nom_site;
61 61
         }
62
+
63
+        /**
64
+         * @return string|null
65
+         */
62 66
         public function getMailSite(){
63 67
             return $this->mail_site;
64 68
         }
Please login to merge, or discard this patch.
core/functions/DateHeure.class.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 		 * Fonction pour passer du format H:m en seconde
21 21
 		 * @param int $heure recoit l'heure a passer en minute
22 22
 		 * @param int $minute recoit les minutes a passer en minute
23
-		 * @return int
23
+		 * @return double|null
24 24
 		 **/
25 25
 		public static function Heureenseconde($heure, $minute) {
26 26
 			if ((is_numeric($heure)) && (is_numeric($minute))) {
@@ -38,7 +38,6 @@  discard block
 block discarded – undo
38 38
 
39 39
 		/**
40 40
 		 * passe des secondes au format H:m
41
-		 * @param int $temps correspond aux format seconde à repasser en H:m
42 41
 		 * @return string
43 42
 		 */
44 43
 		public static function Secondeenheure($seconde) {
@@ -77,7 +76,7 @@  discard block
 block discarded – undo
77 76
 
78 77
 		/**
79 78
 		 * affiche la date du jour au format jeudi 12 janvier
80
-		 * @param string $date si NULL on prend la date du jour sinon on prend la date qui est mise
79
+		 * @param integer $date si NULL on prend la date du jour sinon on prend la date qui est mise
81 80
 		 * @param int $abreger si NOT NULL, on abrege la date, on enleve la semaine et on coupe le mois à 3 lettres
82 81
 		 * @return string
83 82
 		 */
Please login to merge, or discard this patch.
core/auth/Encrypt.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 		//-------------------------- GETTER ----------------------------------------------------------------------------//
16 16
 		/**
17 17
 		 * @param null $id_identite
18
-		 * @return mixed
18
+		 * @return string
19 19
 		 */
20 20
 		public static function getParams($id_identite=null) {
21 21
 			if ($id_identite != null) {
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 		//-------------------------- SETTER ----------------------------------------------------------------------------//
39 39
 		/**
40 40
 		 * fonction qui permet d'encrypter un mot de passe, une fois encrype, on save les params pour le retrouver en bdd
41
-		 * @param $mdp
41
+		 * @param string|null $mdp
42 42
 		 * @param $id_identite
43 43
 		 * @return string
44 44
 		 */
Please login to merge, or discard this patch.
core/Database.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
 		/**
123 123
 		 * tester si une table dans la base donnee existe
124 124
 		 * @param string $table definit la table pour laquelle on doit tester l'existance
125
-		 * @return true|false
125
+		 * @return boolean
126 126
 		 */
127 127
 		public function TestTableExist($table) {
128 128
 			$query = $this->getPdo()->query("SHOW TABLES LIKE '$table'");
Please login to merge, or discard this patch.