Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrutinizer Auto-Fixes #4

Merged
merged 1 commit into from Dec 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Getnet/API/Environment.php
Expand Up @@ -15,7 +15,7 @@ class Environment

/**
* Environment constructor.
* @param $api
* @param string $api
*/
private function __construct($api)
{
Expand Down
8 changes: 4 additions & 4 deletions src/Getnet/API/Getnet.php
Expand Up @@ -53,7 +53,7 @@ public function __construct(
}

/**
* @return mixed
* @return string
*/
public function getClientId()
{
Expand All @@ -72,7 +72,7 @@ public function setClientId($client_id)
}

/**
* @return mixed
* @return string
*/
public function getClientSecret()
{
Expand Down Expand Up @@ -110,7 +110,7 @@ public function setEnvironment(Environment $environment)
}

/**
* @return mixed
* @return string
*/
public function getAuthorizationToken()
{
Expand All @@ -129,7 +129,7 @@ public function setAuthorizationToken($authorizationToken)
}

/**
* @return mixed
* @return string
*/
public function getKeySession()
{
Expand Down
8 changes: 4 additions & 4 deletions src/Getnet/API/Request.php
Expand Up @@ -100,7 +100,7 @@ private function verifyAuthSession(Getnet $credentials)
/**
* @param Getnet $credentials
* @param $url_path
* @param $method
* @param string $method
* @param null $json
* @return mixed
* @throws Exception
Expand Down Expand Up @@ -175,7 +175,7 @@ private function getFullUrl($url_path)
}

/**
* @return mixed|string
* @return string
*/
public function getBaseUrl()
{
Expand All @@ -195,8 +195,8 @@ public function get(Getnet $credentials, $url_path)

/**
* @param Getnet $credentials
* @param $url_path
* @param $params
* @param string $url_path
* @param false|string $params
* @return mixed
* @throws Exception
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Getnet/API/Token.php
Expand Up @@ -42,7 +42,7 @@ public function __toString()
}

/**
* @return mixed
* @return string
*/
public function getCardNumber()
{
Expand All @@ -61,7 +61,7 @@ public function setCardNumber($card_number)
}

/**
* @return mixed
* @return string
*/
public function getCustomerId()
{
Expand Down