Skip to content

Commit 8f63474

Browse files
HP-1751 tiny
1 parent 8da4e9a commit 8f63474

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/product/BillingRegistry.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use hiqdev\php\billing\product\invoice\InvalidRepresentationException;
99
use hiqdev\php\billing\product\invoice\RepresentationInterface;
1010
use hiqdev\php\billing\product\price\PriceTypeDefinition;
11+
use hiqdev\php\billing\product\price\PriceTypeDefinitionInterface;
1112
use hiqdev\php\billing\product\quantity\QuantityFormatterInterface;
1213
use hiqdev\php\billing\product\quantity\QuantityFormatterNotFoundException;
1314
use hiqdev\php\billing\product\quantity\FractionQuantityData;
@@ -36,6 +37,10 @@ public function lock(): void
3637
$this->locked = true;
3738
}
3839

40+
/**
41+
* @return \Generator
42+
* @psalm-return \Generator<PriceTypeDefinitionInterface>
43+
*/
3944
public function priceTypes(): \Generator
4045
{
4146
foreach ($this->tariffTypeDefinitions as $tariffTypeDefinition) {

0 commit comments

Comments
 (0)