Completed
Push — spip-3.0 ( c45da6...b00f84 )
by cam
93:44 queued 82:27
created
ecrire/req/sqlite_fonctions.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
  * 
22 22
  */
23 23
 // http://code.spip.net/@_sqlite_init_functions
24
+/**
25
+ * @param PDO $sqlite
26
+ */
24 27
 function _sqlite_init_functions(&$sqlite){
25 28
 	
26 29
 	if (!$sqlite) return false;
@@ -89,6 +92,9 @@  discard block
 block discarded – undo
89 92
 
90 93
 // permet au besoin de charger des fonctions ailleurs par _sqlite_init_functions();
91 94
 // http://code.spip.net/@_sqlite_add_function
95
+/**
96
+ * @param string $f
97
+ */
92 98
 function _sqlite_add_function(&$sqlite, &$f, &$r){
93 99
 	if (_sqlite_is_version(3, $sqlite)){
94 100
 		isset($r[1])
Please login to merge, or discard this patch.
ecrire/xml/sax.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -96,6 +96,9 @@  discard block
 block discarded – undo
96 96
 	  : xml_entites_html($data);
97 97
 }
98 98
 
99
+/**
100
+ * @param IndenteurXML $phraseur
101
+ */
99 102
 function xml_piElement($phraseur, $target, $data)
100 103
 {
101 104
 	$depth = $phraseur->depth;
@@ -113,6 +116,9 @@  discard block
 block discarded – undo
113 116
 
114 117
 
115 118
 // http://code.spip.net/@xml_defautElement
119
+/**
120
+ * @param IndenteurXML $phraseur
121
+ */
116 122
 function xml_defaultElement($phraseur, $data)
117 123
 {
118 124
 	$depth = $phraseur->depth;
@@ -144,6 +150,9 @@  discard block
 block discarded – undo
144 150
 }
145 151
 
146 152
 // http://code.spip.net/@coordonnees_erreur
153
+/**
154
+ * @param string $msg
155
+ */
147 156
 function coordonnees_erreur($phraseur, $msg)
148 157
 {
149 158
 	$entete_length = substr_count($phraseur->entete,"\n");
Please login to merge, or discard this patch.
prive/formulaires/configurer_multilinguisme.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@
 block discarded – undo
39 39
 	}
40 40
 }
41 41
 
42
+/**
43
+ * @param string $name
44
+ */
42 45
 function liste_tables_en_base($name)
43 46
 {
44 47
 	$res = sql_alltable();
Please login to merge, or discard this patch.
ecrire/balise/menu_lang_ecrire.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@
 block discarded – undo
71 71
 }
72 72
 
73 73
 
74
+/**
75
+ * @param string $nom
76
+ */
74 77
 function phraser_logo_faux_filtres($nom)
75 78
 {
76 79
 	switch($nom) {
Please login to merge, or discard this patch.
ecrire/action/calculer_taille_cache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
  *
67 67
  * http://doc.spip.org/@calculer_taille_dossier
68 68
  *
69
- * @param $dir
69
+ * @param string|null $dir
70 70
  * @return int
71 71
  */
72 72
 function calculer_taille_dossier ($dir) {
Please login to merge, or discard this patch.
ecrire/action/converser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
 	redirige_par_entete($redirect, true);
36 36
 }
37 37
 
38
+/**
39
+ * @param boolean $update_session
40
+ */
38 41
 function action_converser_changer_langue($update_session){
39 42
 	if ($lang = _request('var_lang'))
40 43
 		action_converser_post($lang);
Please login to merge, or discard this patch.
ecrire/action/editer_auteur.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@
 block discarded – undo
221 221
  * @param  $id_auteur
222 222
  * @param  $c
223 223
  * @param bool $force_webmestre
224
- * @return bool|string
224
+ * @return false|string
225 225
  */
226 226
 function auteur_instituer($id_auteur, $c, $force_webmestre = false) {
227 227
 	if (!$id_auteur=intval($id_auteur))
Please login to merge, or discard this patch.
ecrire/action/editer_liens.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
  * 
178 178
  * @api
179 179
  * @param array $objets_source
180
- * @param array|string $objets_lies
180
+ * @param string $objets_lies
181 181
  * @return int
182 182
  */
183 183
 function objet_optimiser_liens($objets_source,$objets_lies){
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
  * @param sgring $table_lien
308 308
  * @param int $id
309 309
  * @param array $objets
310
- * @return bool|int
310
+ * @return integer
311 311
  */
312 312
 function lien_insert($objet_source,$primary,$table_lien,$id,$objets) {
313 313
 	$ins = 0;
@@ -423,7 +423,7 @@  discard block
 block discarded – undo
423 423
  * @param sgring $table_lien
424 424
  * @param int $id
425 425
  * @param array $objets
426
- * @return bool|int
426
+ * @return integer
427 427
  */
428 428
 function lien_delete($objet_source,$primary,$table_lien,$id,$objets){
429 429
 	$retire = array();
@@ -504,7 +504,7 @@  discard block
 block discarded – undo
504 504
  * @param sgring $table_lien
505 505
  * @param int $id
506 506
  * @param array $objets
507
- * @return bool|int
507
+ * @return integer
508 508
  */
509 509
 function lien_optimise($objet_source,$primary,$table_lien,$id,$objets){
510 510
 	include_spip('genie/optimiser');
Please login to merge, or discard this patch.
ecrire/action/menu_rubriques.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -389,6 +389,9 @@
 block discarded – undo
389 389
 }
390 390
 
391 391
 // http://doc.spip.org/@import_init_meta
392
+/**
393
+ * @return string
394
+ */
392 395
 function import_init_meta($tag, $atts, $charset, $request)
393 396
 {
394 397
 	$version_archive = $atts['version_archive'];
Please login to merge, or discard this patch.