22
33namespace hiqdev \php \billing \product ;
44
5- use hiqdev \billing \registry \behavior \PriceTypeDefinitionBehaviourCollection ;
5+ use hiqdev \php \ billing \product \behavior \BehaviourPriceTypeDefinitionCollection ;
66use hiqdev \billing \registry \invoice \InvoiceRepresentationCollection ;
77use hiqdev \billing \registry \product \Aggregate ;
88use hiqdev \billing \registry \quantity \formatter \QuantityFormatterDefinition ;
@@ -24,7 +24,7 @@ class PriceTypeDefinition implements ParentNodeDefinitionInterface
2424
2525 private InvoiceRepresentationCollection $ invoiceCollection ;
2626
27- private PriceTypeDefinitionBehaviourCollection $ behaviorCollection ;
27+ private BehaviourPriceTypeDefinitionCollection $ behaviorCollection ;
2828
2929 private Aggregate $ aggregate ;
3030
@@ -34,7 +34,7 @@ public function __construct(
3434 TariffTypeInterface $ tariffType ,
3535 ) {
3636 $ this ->invoiceCollection = new InvoiceRepresentationCollection ($ this );
37- $ this ->behaviorCollection = new PriceTypeDefinitionBehaviourCollection ($ this , $ tariffType );
37+ $ this ->behaviorCollection = new BehaviourPriceTypeDefinitionCollection ($ this , $ tariffType );
3838
3939 $ this ->init ();
4040 }
@@ -117,7 +117,7 @@ public function getUnit(): UnitInterface
117117 return $ this ->unit ;
118118 }
119119
120- public function withBehaviors (): PriceTypeDefinitionBehaviourCollection
120+ public function withBehaviors (): BehaviourPriceTypeDefinitionCollection
121121 {
122122 return $ this ->behaviorCollection ;
123123 }
0 commit comments