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

Commit 77abe58

Browse files
committed
Compatibilidade com PHP 5.6
1 parent 4062576 commit 77abe58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Auth/Connect.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ public function setScope($scope)
500500
*
501501
* @return \Moip\Auth\Connect
502502
*/
503-
public function setEndpoint(string $endpoint)
503+
public function setEndpoint($endpoint)
504504
{
505505
if (!in_array($endpoint, [self::ENDPOINT_SANDBOX, self::ENDPOINT_PRODUCTION])) {
506506
throw new InvalidArgumentException('Endpoint inválido.');
@@ -536,7 +536,7 @@ public function getClientSecret()
536536
*
537537
* @return \Moip\Auth\Connect
538538
*/
539-
public function setCode(string $code)
539+
public function setCode($code)
540540
{
541541
$this->code = $code;
542542

0 commit comments

Comments
 (0)