Completed
Pull Request — master (#36)
by
unknown
06:08
created
ecrire/auth/ldap.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -314,7 +314,7 @@
 block discarded – undo
314 314
  * @param $new_pass
315 315
  * @param $id_auteur
316 316
  * @param string $serveur
317
- * @return bool
317
+ * @return string|boolean
318 318
  *    Informe du succès ou de l'echec du changement du mot de passe
319 319
  */
320 320
 function auth_ldap_modifier_pass($login, $new_pass, $id_auteur, $serveur = '') {
Please login to merge, or discard this patch.
ecrire/balise/formulaire_.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
  * @see trouver_fond()
61 61
  * @param string $form
62 62
  *     Nom du formulaire
63
- * @return string|bool
63
+ * @return string|false
64 64
  *     - string : chemin du squelette
65 65
  *     - false : pas de squelette trouvé
66 66
  **/
Please login to merge, or discard this patch.
ecrire/base/connect_sql.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
  *
37 37
  * @param string $serveur Nom du connecteur
38 38
  * @param string $version Version de l'API SQL
39
- * @return bool|array
39
+ * @return string
40 40
  *     - false si la connexion a échouée,
41 41
  *     - tableau décrivant la connexion sinon
42 42
  **/
Please login to merge, or discard this patch.
ecrire/exec/rechercher.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
  *
53 53
  * @param int $id
54 54
  * @param string $type
55
- * @param string|int|array $exclus
55
+ * @param integer $exclus
56 56
  * @param string|bool $rac
57 57
  * @param string $do
58 58
  * @return string
Please login to merge, or discard this patch.
ecrire/genie/maintenance.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
  * @uses verifier_crash_tables()
32 32
  *
33 33
  * @param object $t
34
- * @return bool Toujours à true.
34
+ * @return integer Toujours à true.
35 35
  */
36 36
 function genie_maintenance_dist($t) {
37 37
 
Please login to merge, or discard this patch.
ecrire/inc/acces.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
 /**
262 262
  * Initialiser la globale htsalt si cela n'a pas déjà été fait.
263 263
  *
264
- * @return void|bool
264
+ * @return null|string
265 265
  */
266 266
 function initialiser_sel() {
267 267
 	if (CRYPT_MD5) {
Please login to merge, or discard this patch.
ecrire/inc/actions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,11 +35,11 @@  discard block
 block discarded – undo
35 35
  *     - -1 : renvoyer action, arg et hash sous forme de array()
36 36
  *     - true ou false : renvoyer une url, avec `&` (false) ou `&` (true)
37 37
  *     - string : renvoyer un formulaire
38
- * @param string|int $att
38
+ * @param string $att
39 39
  *     - id_auteur pour lequel générer l'action en mode url ou array()
40 40
  *     - attributs du formulaire en mode formulaire
41 41
  * @param bool $public
42
- * @return array|string
42
+ * @return string
43 43
  *     URL, code HTML du formulaire ou tableau (action, arg, hash)
44 44
  */
45 45
 function generer_action_auteur($action, $arg, $redirect = '', $mode = false, $att = '', $public = false) {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
  *     que l'on peut récupérer dans une fonction d'action par `_request('redirect')`
67 67
  * @param string $gra
68 68
  *     Arguments transmis au script exec de retour `arg1=yy&arg2=zz`
69
- * @param bool|string|int $mode
69
+ * @param boolean $mode
70 70
  *     - -1 : renvoyer action, arg et hash sous forme de array()
71 71
  *     - true ou false : renvoyer une url, avec `&` (false) ou `&` (true)
72 72
  *     - string : renvoyer un formulaire
Please login to merge, or discard this patch.
ecrire/inc/autoriser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1654,7 +1654,7 @@
 block discarded – undo
1654 1654
  *
1655 1655
  * @param string $objet
1656 1656
  * @param int $id_objet
1657
- * @param string|array $cond
1657
+ * @param string $cond
1658 1658
  *     Condition(s) supplémentaire(s) pour le where de la requête
1659 1659
  * @return int[]
1660 1660
  *     Identifiants d'auteurs
Please login to merge, or discard this patch.
ecrire/inc/charsets.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
  * @param string $charset
38 38
  *     Charset à charger.
39 39
  *     Par défaut (AUTO), utilise le charset du site
40
- * @return string|bool
40
+ * @return string|false
41 41
  *     - Nom du charset
42 42
  *     - false si le charset n'est pas décrit dans le répertoire charsets/
43 43
  **/
@@ -706,7 +706,7 @@  discard block
 block discarded – undo
706 706
  *
707 707
  * @param int $num
708 708
  *    Numéro de l'entité unicode
709
- * @return char
709
+ * @return string
710 710
  *    Caractère utf8 si trouvé, '' sinon
711 711
  **/
712 712
 function caractere_utf_8($num) {
Please login to merge, or discard this patch.