Passed
Push — master ( b58333...85a890 )
by Anthony
03:13
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/modules/GestionModule.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 
134 134
 		/**
135 135
 		 * @param $nom_module
136
-		 * @return bool
136
+		 * @return boolean|null
137 137
 		 * return true si le module est activer sinon false
138 138
 		 */
139 139
 		public static function getModuleActiver($nom_module) {
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 
154 154
 		/**
155 155
 		 * @param $nom_module
156
-		 * @return bool
156
+		 * @return boolean|null
157 157
 		 * fonction qui permet de savoir si un module est à jour ou non
158 158
 		 * si a jour renvoi true sinon renvoi false
159 159
 		 */
Please login to merge, or discard this patch.
core/modules/ImportModule.class.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,6 +50,7 @@  discard block
 block discarded – undo
50 50
 		/**
51 51
 		 * @param $url_module
52 52
 		 * fonction qui permets d'importer un module dans notre site internet
53
+		 * @param boolean $update
53 54
 		 */
54 55
 		public function setImportModule($url_module, $update=null) {
55 56
 			$dbc= App::getDb();
@@ -226,7 +227,7 @@  discard block
 block discarded – undo
226 227
 		}
227 228
 
228 229
 		/**
229
-		 * @param $url
230
+		 * @param string $url
230 231
 		 * fonction qui permet de supprmer un dossier avec toute son abrorescence en fonction d'une URL
231 232
 		 */
232 233
 		private function supprimerDossier($url) {
Please login to merge, or discard this patch.
core/RedirectError.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
 
8 8
 	class RedirectError {
9 9
 
10
+		/**
11
+		 * @param integer $type
12
+		 */
10 13
 		public static function Redirect($type) {
11 14
 			if ($type == 404) {
12 15
 				header("HTTP/1.0 404 Not Found");
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/images/Resize.class.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@  discard block
 block discarded – undo
25 25
 		    private $height;
26 26
 			private $imageResized;
27 27
 
28
+			/**
29
+			 * @param null|string $fileName
30
+			 */
28 31
 			function __construct($fileName)
29 32
 			{
30 33
 				// *** Open up the file
@@ -85,6 +88,9 @@  discard block
 block discarded – undo
85 88
 
86 89
 			## --------------------------------------------------------
87 90
 			
91
+			/**
92
+			 * @param string $option
93
+			 */
88 94
 			private function getDimensions($newWidth, $newHeight, $option)
89 95
 			{
90 96
 
@@ -203,6 +209,9 @@  discard block
 block discarded – undo
203 209
 
204 210
 			## --------------------------------------------------------
205 211
 
212
+			/**
213
+			 * @param string $savePath
214
+			 */
206 215
 			public function saveImage($savePath, $imageQuality="100")
207 216
 			{
208 217
 				// *** Get extension
Please login to merge, or discard this patch.