Skip to content

Commit

Permalink
downgrade de features do php 7.1 para 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dersonsena committed Jul 3, 2018
1 parent 02f71b0 commit eca0cca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": ">=7.1",
"php": ">=7.0",
"php-curl-class/php-curl-class": "^8.1"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Services/Debit/DebitService.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function getCotacoesByIndiceCode(int $indiceCode): array
return $cotacoes[$indiceCode];
}

public function getCurrentCotacaoByIndiceCode(int $indiceCode):? IndiceFinanceiroAbstract
public function getCurrentCotacaoByIndiceCode(int $indiceCode)
{
$parsedData = $this->parser->parse($this->fetcher->getContent());

Expand Down
4 changes: 1 addition & 3 deletions src/Services/ServiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@

namespace Dersonsena\IndicesFinanceiros\Services;

use Dersonsena\IndicesFinanceiros\Indices\IndiceFinanceiroAbstract;

interface ServiceInterface
{
public function getProviderName(): string;
public function getErrorCode(): int;
public function getErrorMessage(): string;
public function getIndicesByCurrentMonth(): array;
public function getCotacoesByIndiceCode(int $indiceCode): array;
public function getCurrentCotacaoByIndiceCode(int $indiceCode):? IndiceFinanceiroAbstract;
public function getCurrentCotacaoByIndiceCode(int $indiceCode);
}

0 comments on commit eca0cca

Please sign in to comment.