Skip to content

Commit

Permalink
Remove final for classes (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienPillevesse authored Oct 15, 2024
1 parent 6c79b0b commit a8151b0
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion src/DataType/BinaryObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\DataType;

final readonly class BinaryObject
readonly class BinaryObject
{
public function __construct(
public string $content,
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/BankAssignedCreditorIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\DataType\Identifier;

final readonly class BankAssignedCreditorIdentifier
readonly class BankAssignedCreditorIdentifier
{
public function __construct(public string $value)
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/BuyerIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Tiime\EN16931\Codelist\InternationalCodeDesignator;

final readonly class BuyerIdentifier
readonly class BuyerIdentifier
{
public function __construct(
public string $value,
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/BuyerItemIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\DataType\Identifier;

final readonly class BuyerItemIdentifier
readonly class BuyerItemIdentifier
{
public function __construct(public string $value)
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/DebitedAccountIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\DataType\Identifier;

final readonly class DebitedAccountIdentifier
readonly class DebitedAccountIdentifier
{
public function __construct(public string $value)
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/ElectronicAddressIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Tiime\EN16931\Codelist\ElectronicAddressSchemeCode;

final readonly class ElectronicAddressIdentifier
readonly class ElectronicAddressIdentifier
{
public function __construct(public string $value, public ElectronicAddressSchemeCode $scheme)
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/InvoiceIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\DataType\Identifier;

final readonly class InvoiceIdentifier
readonly class InvoiceIdentifier
{
public function __construct(public string $value)
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/InvoiceLineIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\DataType\Identifier;

final readonly class InvoiceLineIdentifier
readonly class InvoiceLineIdentifier
{
public function __construct(public string $value)
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/ItemClassificationIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Tiime\EN16931\Codelist\ItemTypeCodeUNTDID7143;

final readonly class ItemClassificationIdentifier
readonly class ItemClassificationIdentifier
{
public function __construct(
public string $value,
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/LegalRegistrationIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Tiime\EN16931\Codelist\InternationalCodeDesignator;

final readonly class LegalRegistrationIdentifier
readonly class LegalRegistrationIdentifier
{
public function __construct(
public string $value,
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/LocationIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Tiime\EN16931\Codelist\InternationalCodeDesignator;

final readonly class LocationIdentifier
readonly class LocationIdentifier
{
public function __construct(
public string $value,
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/MandateReferenceIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\DataType\Identifier;

final readonly class MandateReferenceIdentifier
readonly class MandateReferenceIdentifier
{
public function __construct(public string $value)
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/ObjectIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Tiime\EN16931\Codelist\ReferenceQualifierCodeUNTDID1153;

final readonly class ObjectIdentifier
readonly class ObjectIdentifier
{
public function __construct(
public string $value,
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/PayeeIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Tiime\EN16931\Codelist\InternationalCodeDesignator;

final readonly class PayeeIdentifier
readonly class PayeeIdentifier
{
public function __construct(
public string $value,
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/PaymentAccountIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\DataType\Identifier;

final readonly class PaymentAccountIdentifier
readonly class PaymentAccountIdentifier
{
public function __construct(
public string $value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\DataType\Identifier;

final readonly class PaymentServiceProviderIdentifier
readonly class PaymentServiceProviderIdentifier
{
public function __construct(
public string $value
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/SellerIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Tiime\EN16931\Codelist\InternationalCodeDesignator;

final readonly class SellerIdentifier
readonly class SellerIdentifier
{
public function __construct(
public string $value,
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/SellerItemIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\DataType\Identifier;

final readonly class SellerItemIdentifier
readonly class SellerItemIdentifier
{
public function __construct(
public string $value
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/SpecificationIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\DataType\Identifier;

final readonly class SpecificationIdentifier
readonly class SpecificationIdentifier
{
public const string MINIMUM = 'urn:factur-x.eu:1p0:minimum';
public const string BASICWL = 'urn:factur-x.eu:1p0:basicwl';
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/StandardItemIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Tiime\EN16931\Codelist\InternationalCodeDesignator;

final readonly class StandardItemIdentifier
readonly class StandardItemIdentifier
{
public function __construct(
public string $value,
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/TaxRegistrationIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\DataType\Identifier;

final readonly class TaxRegistrationIdentifier
readonly class TaxRegistrationIdentifier
{
public function __construct(
public string $value
Expand Down
2 changes: 1 addition & 1 deletion src/DataType/Identifier/VatIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Tiime\EN16931\Codelist\CountryAlpha2Code;

final readonly class VatIdentifier
readonly class VatIdentifier
{
private string $value;

Expand Down
2 changes: 1 addition & 1 deletion src/SemanticDataType/Amount.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\SemanticDataType;

final readonly class Amount extends DecimalNumber
readonly class Amount extends DecimalNumber
{
public const int DECIMALS = 2;

Expand Down
2 changes: 1 addition & 1 deletion src/SemanticDataType/IntegerNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\SemanticDataType;

final readonly class IntegerNumber implements Number
readonly class IntegerNumber implements Number
{
public function __construct(
private int $value
Expand Down
2 changes: 1 addition & 1 deletion src/SemanticDataType/Percentage.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\SemanticDataType;

final readonly class Percentage extends DecimalNumber
readonly class Percentage extends DecimalNumber
{
public const int DECIMALS = 2;

Expand Down
2 changes: 1 addition & 1 deletion src/SemanticDataType/Quantity.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\SemanticDataType;

final readonly class Quantity extends DecimalNumber
readonly class Quantity extends DecimalNumber
{
public const int DECIMALS = 4;

Expand Down
2 changes: 1 addition & 1 deletion src/SemanticDataType/UnitPriceAmount.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tiime\EN16931\SemanticDataType;

final readonly class UnitPriceAmount extends DecimalNumber
readonly class UnitPriceAmount extends DecimalNumber
{
public const int DECIMALS = 4;

Expand Down

0 comments on commit a8151b0

Please sign in to comment.