Skip to content

Commit

Permalink
Fix typos in Czech Republic country handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Mar 20, 2020
1 parent d37d11e commit dab7433
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use tests\loophp\Tin\AbstractAlgorithmSpec;

class CzeckRepublicSpec extends AbstractAlgorithmSpec
class CzechRepublicSpec extends AbstractAlgorithmSpec
{
public const INVALID_NUMBER_DATE = ['901549/0006', '902149/0003'];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
*
* Source: https://github.com/czechphp/national-identification-number-validator
*/
final class CzeckRepublic extends CountryHandler
final class CzechRepublic extends CountryHandler
{
/**
* @var string
*/
public const COUNTRYCODE = 'CY';
public const COUNTRYCODE = 'CZ';

/**
* @var int
Expand Down
4 changes: 2 additions & 2 deletions src/TIN.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use loophp\Tin\CountryHandler\CountryHandlerInterface;
use loophp\Tin\CountryHandler\Croatia;
use loophp\Tin\CountryHandler\Cyprus;
use loophp\Tin\CountryHandler\CzeckRepublic;
use loophp\Tin\CountryHandler\CzechRepublic;
use loophp\Tin\CountryHandler\Denmark;
use loophp\Tin\CountryHandler\Estonia;
use loophp\Tin\CountryHandler\Finland;
Expand Down Expand Up @@ -48,7 +48,7 @@ final class TIN
'BE' => Belgium::class,
'BG' => Bulgaria::class,
'CY' => Cyprus::class,
'CZ' => CzeckRepublic::class,
'CZ' => CzechRepublic::class,
'DE' => Germany::class,
'DK' => Denmark::class,
'EE' => Estonia::class,
Expand Down

0 comments on commit dab7433

Please sign in to comment.