Passed
Push — master ( f418e9...b58333 )
by Anthony
04:11
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.
libs/ckfinder/core/connector/php/php4/Utils/FileSystem.php 1 patch
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      * PHP4 Scandir
136 136
      * @static
137 137
      * @access public
138
-     * @param $directory directory name
138
+     * @param string $directory directory name
139 139
     */
140 140
     function php4_scandir($directory)
141 141
     {
@@ -404,7 +404,6 @@  discard block
 block discarded – undo
404 404
      * @static
405 405
      * @access public
406 406
      * @param string $dir
407
-     * @param int $mode
408 407
      * @return boolean
409 408
      */
410 409
     function createDirectoryRecursively($dir)
@@ -454,7 +453,7 @@  discard block
 block discarded – undo
454 453
      * @static
455 454
      * @access public
456 455
      * @param string $filePath absolute path to file
457
-     * @return boolean
456
+     * @return string
458 457
     */
459 458
     function detectHtml($filePath)
460 459
     {
@@ -515,8 +514,7 @@  discard block
 block discarded – undo
515 514
      * @access public
516 515
      * @param string $filePath absolute path to file
517 516
      * @param string $extension file extension
518
-     * @param integer $detectionLevel 0 = none, 1 = use getimagesize for images, 2 = use DetectHtml for images
519
-     * @return boolean
517
+     * @return string
520 518
     */
521 519
     function isImageValid($filePath, $extension)
522 520
     {
Please login to merge, or discard this patch.
libs/ckfinder/core/connector/php/php5/CommandHandler/MoveFiles.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -259,6 +259,10 @@
 block discarded – undo
259 259
         }
260 260
     }
261 261
 
262
+    /**
263
+     * @param integer $errorCode
264
+     * @param string $path
265
+     */
262 266
     private function appendErrorNode($oErrorsNode, $errorCode, $name, $type, $path)
263 267
     {
264 268
         $oErrorNode = new CKFinder_Connector_Utils_XmlNode("Error");
Please login to merge, or discard this patch.
libs/ckfinder/core/connector/php/php5/Core/Config.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
 	 * Get "forceAscii" value
233 233
 	 *
234 234
 	 * @access public
235
-	 * @return array
235
+	 * @return boolean
236 236
 	 */
237 237
     public function forceAscii()
238 238
     {
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
 	 * Get regular expression to hide folders
244 244
 	 *
245 245
 	 * @access public
246
-	 * @return array
246
+	 * @return string
247 247
 	 */
248 248
     public function getHideFoldersRegex()
249 249
     {
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
 	 * Get regular expression to hide files
270 270
 	 *
271 271
 	 * @access public
272
-	 * @return array
272
+	 * @return string
273 273
 	 */
274 274
     public function getHideFilesRegex()
275 275
     {
Please login to merge, or discard this patch.
libs/ckfinder/core/connector/php/php5/Core/Hooks.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
      * Run user defined hooks
25 25
      *
26 26
      * @param string $event
27
-     * @param object $errorHandler
28 27
      * @param array $args
29 28
      * @return boolean (true to continue processing, false otherwise)
30 29
      */
Please login to merge, or discard this patch.