Skip to content

Commit

Permalink
feat(typo): remove old doc
Browse files Browse the repository at this point in the history
  • Loading branch information
h4kuna committed Aug 29, 2024
1 parent 5874d24 commit 31117aa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions src/ExchangeFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
use Psr\Http\Client\ClientInterface;
use Psr\Http\Message\RequestFactoryInterface;

/**
* @implements ExchangeFactoryInterface<CurrencyInterface>
*/
final class ExchangeFactory implements ExchangeFactoryInterface
{
private RatingListCache $ratingListCache;
Expand Down
7 changes: 0 additions & 7 deletions src/ExchangeFactoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,11 @@

use h4kuna\Exchange\RatingList\CacheEntity;

/**
* @template T of CurrencyInterface
*/
interface ExchangeFactoryInterface
{
/**
* @return Exchange<T>
*/
public function create(
?string $from = null,
?string $to = null,
?CacheEntity $cacheEntity = null,
): Exchange;

}

0 comments on commit 31117aa

Please sign in to comment.