We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c100fe commit 620e4acCopy full SHA for 620e4ac
functions/requests.php
@@ -33,10 +33,10 @@ function check_post_parametres(array $varList) : bool {
33
/**
34
* Convert a list of numbers (anything with IDs) comma-separated to an array
35
*
36
- * @param String $list The input list
37
- * @return Array The list of user / an empty list in case of errors
+ * @param string $list The input list
+ * @return array The list of user / an empty list in case of errors
38
*/
39
-function numbers_list_to_array($list) : array {
+function numbers_list_to_array(string $list) : array {
40
//Split the list into an array
41
$array = explode(",", $list);
42
$usersList = array();
0 commit comments