@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | * @uses _DIR_IMG |
| 44 | 44 | * |
| 45 | 45 | * @param string $fichier |
| 46 | - * @return bool|string |
|
| 46 | + * @return string|false |
|
| 47 | 47 | */ |
| 48 | 48 | function get_spip_doc($fichier) { |
| 49 | 49 | // fichier distant |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | * @param string $orig |
| 131 | 131 | * @param string $source |
| 132 | 132 | * @param string $subdir |
| 133 | - * @return bool|mixed|string |
|
| 133 | + * @return string|false |
|
| 134 | 134 | */ |
| 135 | 135 | function copier_document($ext, $orig, $source, $subdir = null) { |
| 136 | 136 | |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | * @uses sous_repertoire() |
| 168 | 168 | * |
| 169 | 169 | * @param string $type |
| 170 | - * @return bool|string |
|
| 170 | + * @return string |
|
| 171 | 171 | */ |
| 172 | 172 | function determine_upload($type = '') { |
| 173 | 173 | if (!function_exists('autoriser')) { |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | * @param bool $move |
| 208 | 208 | * - `true` : on déplace le fichier source vers le fichier de destination |
| 209 | 209 | * - `false` : valeur par défaut. On ne fait que copier le fichier source vers la destination. |
| 210 | - * @return bool|mixed|string |
|
| 210 | + * @return string|false |
|
| 211 | 211 | */ |
| 212 | 212 | function deplacer_fichier_upload($source, $dest, $move = false) { |
| 213 | 213 | // Securite |