Skip to content

Commit 9d12287

Browse files
HP-1751 tiny
1 parent 55f53e8 commit 9d12287

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/product/ParentNodeDefinitionInterface.php renamed to src/product/HasBehaviorsInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use hiqdev\php\billing\product\behavior\BehaviorCollectionInterface;
66

7-
interface ParentNodeDefinitionInterface
7+
interface HasBehaviorsInterface
88
{
99
public function withBehaviors(): BehaviorCollectionInterface;
1010

src/product/TariffTypeDefinitionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/**
99
* @template T of PriceTypeDefinitionCollectionInterface
1010
*/
11-
interface TariffTypeDefinitionInterface extends ParentNodeDefinitionInterface
11+
interface TariffTypeDefinitionInterface extends HasBehaviorsInterface
1212
{
1313
public function tariffType(): TariffTypeInterface;
1414

src/product/price/PriceTypeDefinition.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use hiqdev\php\billing\product\Exception\AggregateNotDefinedException;
77
use hiqdev\php\billing\product\behavior\BehaviorPriceTypeDefinitionCollection;
88
use hiqdev\php\billing\product\invoice\InvoiceRepresentationCollection;
9-
use hiqdev\php\billing\product\ParentNodeDefinitionInterface;
9+
use hiqdev\php\billing\product\HasBehaviorsInterface;
1010
use hiqdev\php\billing\product\quantity\InvalidQuantityFormatterException;
1111
use hiqdev\php\billing\product\quantity\QuantityFormatterDefinition;
1212
use hiqdev\php\billing\product\quantity\QuantityFormatterFactory;
@@ -21,7 +21,7 @@
2121
* @template T of PriceTypeDefinitionCollectionInterface
2222
* @psalm-consistent-templates
2323
*/
24-
class PriceTypeDefinition implements ParentNodeDefinitionInterface
24+
class PriceTypeDefinition implements HasBehaviorsInterface
2525
{
2626
private UnitInterface $unit;
2727

0 commit comments

Comments
 (0)