Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Compatibilidade com PHP 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascolette committed Sep 16, 2017
1 parent 4062576 commit 77abe58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Auth/Connect.php
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ public function setScope($scope)
*
* @return \Moip\Auth\Connect
*/
public function setEndpoint(string $endpoint)
public function setEndpoint($endpoint)
{
if (!in_array($endpoint, [self::ENDPOINT_SANDBOX, self::ENDPOINT_PRODUCTION])) {
throw new InvalidArgumentException('Endpoint inválido.');
Expand Down Expand Up @@ -536,7 +536,7 @@ public function getClientSecret()
*
* @return \Moip\Auth\Connect
*/
public function setCode(string $code)
public function setCode($code)
{
$this->code = $code;

Expand Down

0 comments on commit 77abe58

Please sign in to comment.