Skip to content

Commit 9827f9b

Browse files
committed
Add alias for the old class
1 parent 4065cab commit 9827f9b

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

src/CzechNationalBankService.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Peso\Services;
6+
7+
use Peso\Services\CzechNationalBank\CentralBankFixingService;
8+
9+
class_alias(CentralBankFixingService::class, CzechNationalBankService::class);
10+
11+
// phpcs:disable PSR1.Files.SideEffects.FoundWithSymbols
12+
if (false) {
13+
/**
14+
* @deprecated PesoServiceInterface
15+
*/
16+
final readonly class CzechNationalBankService extends CentralBankFixingService
17+
{
18+
}
19+
}

0 commit comments

Comments
 (0)