mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-21 18:11:10 +00:00
Convert array + phpDoc
Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
This commit is contained in:
parent
7eccbda99f
commit
4094ea4771
61 changed files with 596 additions and 558 deletions
|
@ -16,7 +16,7 @@ class Utils
|
|||
$token = substr(base64_encode(random_bytes($length)), 0, $length);
|
||||
|
||||
// remove character which can broken the url
|
||||
return str_replace(array('+', '/'), '', $token);
|
||||
return str_replace(['+', '/'], '', $token);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue