mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 22:09:29 +00:00
Added casting
This commit is contained in:
parent
0363f3188f
commit
8cbacb2746
@ -12,7 +12,7 @@
|
|||||||
* @param Boolean $systemPath Optionnal, defines if system path is required instead of URL
|
* @param Boolean $systemPath Optionnal, defines if system path is required instead of URL
|
||||||
* @return String The full URL to the userdata file
|
* @return String The full URL to the userdata file
|
||||||
*/
|
*/
|
||||||
function path_user_data($fileURI = "", $systemPath = false){
|
function path_user_data(string $fileURI = "", bool $systemPath = false) : string {
|
||||||
if(!$systemPath)
|
if(!$systemPath)
|
||||||
return CS::get()->config->get("storage_url").$fileURI;
|
return CS::get()->config->get("storage_url").$fileURI;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user