Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
fix dex token for psr-4 autoloading
Browse files Browse the repository at this point in the history
  • Loading branch information
michavie committed Jan 14, 2023
1 parent b4e93ec commit 07592ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Api/Endpoints/DexEndpoints.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use GuzzleHttp\ClientInterface;
use Illuminate\Support\Collection;
use Peerme\MxProviders\Entities\DexPair;
use Peerme\MxProviders\Entities\MexToken;
use Peerme\MxProviders\Entities\DexToken;

class DexEndpoints
{
Expand All @@ -24,7 +24,7 @@ public function getPairs(): Collection

public function getTokens(): Collection
{
return MexToken::fromApiResponse(
return DexToken::fromApiResponse(
$this->client->request('GET', "/mex/tokens"),
isCollection: true,
);
Expand Down
2 changes: 1 addition & 1 deletion src/Entities/DexToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Peerme\MxProviders\Api\HasApiResponses;

final class MexToken implements IEntity
final class DexToken implements IEntity
{
use HasApiResponses;

Expand Down

0 comments on commit 07592ab

Please sign in to comment.