mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-27 15:59:29 +00:00
Fixed issue
This commit is contained in:
parent
9beca55ad1
commit
1cd8adf247
@ -226,7 +226,7 @@ class User{
|
||||
* @param $advanced Get advanced informations about user or not (to display its profile for example)
|
||||
* @return Array The informations ready to be returned
|
||||
*/
|
||||
private function generateUserInfosArray(array $userInfos, bool $advanced) : array{
|
||||
private function generateUserInfosArray(array $userInfos, bool $advanced = false) : array{
|
||||
//Prepare return
|
||||
$return = array();
|
||||
$return['userID'] = $userInfos['ID'];
|
||||
|
Loading…
Reference in New Issue
Block a user