Skip to content

Commit

Permalink
HP-1751 added ability to extend PriceTypeDefinition class
Browse files Browse the repository at this point in the history
  • Loading branch information
VadymHrechukha committed Dec 12, 2024
1 parent f7e6961 commit 7ab9d97
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/product/PriceTypeDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ public function __construct(
private readonly GType $gType,

Check failure on line 23 in src/product/PriceTypeDefinition.php

View workflow job for this annotation

GitHub Actions / PHP 8.3

UndefinedClass

src/product/PriceTypeDefinition.php:23:9: UndefinedClass: Class, interface or enum named hiqdev\billing\registry\product\GType does not exist (see https://psalm.dev/019)
) {
$this->invoiceCollection = new InvoiceRepresentationCollection($this);

Check failure on line 25 in src/product/PriceTypeDefinition.php

View workflow job for this annotation

GitHub Actions / PHP 8.3

UndefinedClass

src/product/PriceTypeDefinition.php:25:40: UndefinedClass: Class, interface or enum named hiqdev\billing\registry\invoice\InvoiceRepresentationCollection does not exist (see https://psalm.dev/019)

$this->init();
}

protected function init(): void
{
// Hook
}

public function unit(string $unit): self
Expand Down

0 comments on commit 7ab9d97

Please # to comment.