Completed
Push — spip-3-stable ( f1a704...f95177 )
by cam
08:59
created
ecrire/action/editer_liens.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 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){
Please login to merge, or discard this patch.
ecrire/exec/valider_xml.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -73,6 +73,11 @@  discard block
 block discarded – undo
73 73
 }
74 74
 
75 75
 // http://doc.spip.org/@valider_xml_ok
76
+/**
77
+ * @param string $url
78
+ * @param string $req_ext
79
+ * @param integer $limit
80
+ */
76 81
 function valider_xml_ok($url, $req_ext, $limit, $rec, $process = true) {
77 82
 	$url = urldecode($url);
78 83
 	$rec = !$rec ? false : array();
@@ -169,6 +174,9 @@  discard block
 block discarded – undo
169 174
 }
170 175
 
171 176
 // http://doc.spip.org/@valider_resultats
177
+/**
178
+ * @param boolean $mode
179
+ */
172 180
 function valider_resultats($res, $mode)
173 181
 {
174 182
 	include_spip('inc/securiser_action');
@@ -343,6 +351,9 @@  discard block
 block discarded – undo
343 351
 }
344 352
 
345 353
 // http://doc.spip.org/@valider_dir
354
+/**
355
+ * @param string $dir
356
+ */
346 357
 function valider_dir($files, $ext, $dir)
347 358
 {
348 359
 	$res = array();
Please login to merge, or discard this patch.
ecrire/inc/idna_convert.class.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      * the constructor
89 89
      *
90 90
      * @param array $options
91
-     * @return boolean
91
+     * @return boolean|null
92 92
      * @since 0.5.2
93 93
      */
94 94
     public function __construct($options = false)
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
     /**
394 394
      * Use this method to get the last error ocurred
395 395
      * @param    void
396
-     * @return   string   The last error, that occured
396
+     * @return   boolean   The last error, that occured
397 397
      */
398 398
     public function get_last_error()
399 399
     {
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
     /**
404 404
      * The actual decoding algorithm
405 405
      * @param string
406
-     * @return mixed
406
+     * @return false|string
407 407
      */
408 408
     protected function _decode($encoded)
409 409
     {
@@ -464,7 +464,7 @@  discard block
 block discarded – undo
464 464
     /**
465 465
      * The actual encoding algorithm
466 466
      * @param  string
467
-     * @return mixed
467
+     * @return false|string
468 468
      */
469 469
     protected function _encode($decoded)
470 470
     {
@@ -699,7 +699,7 @@  discard block
 block discarded – undo
699 699
      * Decomposes a Hangul syllable
700 700
      * (see http://www.unicode.org/unicode/reports/tr15/#Hangul
701 701
      * @param    integer  32bit UCS4 code point
702
-     * @return   array    Either Hangul Syllable decomposed or original 32bit value as one value array
702
+     * @return   integer[]    Either Hangul Syllable decomposed or original 32bit value as one value array
703 703
      */
704 704
     protected function _hangul_decompose($char)
705 705
     {
Please login to merge, or discard this patch.
ecrire/inc/lang.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
  * 
31 31
  * @param string $lang
32 32
  *     La langue à utiliser
33
- * @return string|bool
33
+ * @return false|string
34 34
  *     string : La langue qui a été utilisée si trouvée
35 35
  *     false : aucune langue ne correspondait à la demande
36 36
 **/
@@ -154,6 +154,9 @@  discard block
 block discarded – undo
154 154
 // pour 'changer_lang' (langue de l'article, espace prive), c'est en Ajax
155 155
 // 
156 156
 // http://doc.spip.org/@menu_langues
157
+/**
158
+ * @param string $nom_select
159
+ */
157 160
 function menu_langues($nom_select, $default='') {
158 161
 	include_spip('inc/actions');
159 162
 
@@ -184,6 +187,10 @@  discard block
 block discarded – undo
184 187
 }
185 188
 
186 189
 // http://doc.spip.org/@select_langues
190
+/**
191
+ * @param string $change
192
+ * @param string $options
193
+ */
187 194
 function select_langues($nom_select, $change, $options, $label="")
188 195
 {
189 196
 	static $cpt = 0;
Please login to merge, or discard this patch.