Removes the $server array param and use the Server class instead.
Uses the user and pass Server properties instead of returning an array.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Replace array type hint with mixed[] type hint, since it means the same.
This way it's possible to require traversable type hint for new code.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>