missing return of array under validateUsername

missing return of array $return under validateUsername

return $return; // missing this part