Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Commit c680710

Browse files
committed
Fixed code style
1 parent 04080e8 commit c680710

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Api/Api.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Codenixsv\MessariApi\MessariClient;
99
use Codenixsv\MessariApi\Api\Query\QueryBuilder;
1010
use Codenixsv\MessariApi\Api\Query\QueryBuilderInterface;
11-
use Symfony\Component\OptionsResolver\OptionsResolver;
11+
use Exception;
1212

1313
/**
1414
* Class Api
@@ -51,7 +51,7 @@ public function getClient(): MessariClient
5151
* @param string $metricId
5252
* @param array $params
5353
* @return array
54-
* @throws \Exception
54+
* @throws Exception
5555
*/
5656
protected function timeseries(string $path, string $assetKey, string $metricId, array $params): array
5757
{
@@ -66,7 +66,7 @@ protected function timeseries(string $path, string $assetKey, string $metricId,
6666
* @param string $path
6767
* @param array $params
6868
* @return array
69-
* @throws \Exception
69+
* @throws Exception
7070
*/
7171
protected function all(string $path, array $params): array
7272
{

src/Exceptions/TransformResponseException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Codenixsv\MessariApi\Exception;
66

7-
use \Exception;
7+
use Exception;
88

99
/**
1010
* Class TransformResponseException

src/MessariClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
class MessariClient
1818
{
19-
const BASE_URI = 'https://data.messari.io/api/v1';
19+
protected const BASE_URI = 'https://data.messari.io/api/v1';
2020

2121
/** @var BaseClientInterface */
2222
private $baseClient;

0 commit comments

Comments
 (0)