File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1313final class PriceTypeBehaviorRegistry extends BehaviorRegistry
1414{
1515 /**
16- * @var BehaviorPriceTypeDefinitionCollection<T >
16+ * @var BehaviorPriceTypeDefinitionCollection<PriceTypeDefinitionInterface >
1717 */
1818 private BehaviorPriceTypeDefinitionCollection $ behaviorCollection ;
1919
2020 /**
21- * @psalm-param T $priceTypeDefinition
21+ * @psalm-param PriceTypeDefinitionInterface $priceTypeDefinition
2222 */
2323 public function __construct (PriceTypeDefinitionInterface $ priceTypeDefinition , TariffTypeInterface $ tariffType )
2424 {
2525 $ this ->behaviorCollection = new BehaviorPriceTypeDefinitionCollection ($ priceTypeDefinition , $ tariffType );
2626 }
2727
2828 /**
29- * @return BehaviorPriceTypeDefinitionCollection<T >
29+ * @return BehaviorPriceTypeDefinitionCollection<PriceTypeDefinitionInterface >
3030 */
3131 public function withBehaviors (): BehaviorPriceTypeDefinitionCollection
3232 {
Original file line number Diff line number Diff line change 2929final class TariffTypeBehaviorRegistry extends BehaviorRegistry
3030{
3131 /**
32- * @var BehaviorTariffTypeCollection<T >
32+ * @var BehaviorTariffTypeCollection<TariffTypeDefinitionInterface >
3333 */
3434 private BehaviorTariffTypeCollection $ behaviorCollection ;
3535
3636 /**
37- * @psalm-param T $tariffTypeDefinition
37+ * @psalm-param TariffTypeDefinitionInterface $tariffTypeDefinition
3838 */
3939 public function __construct (TariffTypeDefinitionInterface $ tariffTypeDefinition , TariffTypeInterface $ tariffType )
4040 {
4141 $ this ->behaviorCollection = new BehaviorTariffTypeCollection ($ tariffTypeDefinition , $ tariffType );
4242 }
4343
4444 /**
45- * @return BehaviorTariffTypeCollection<T >
45+ * @return BehaviorTariffTypeCollection<TariffTypeDefinitionInterface >
4646 */
4747 public function withBehaviors (): BehaviorTariffTypeCollection
4848 {
You can’t perform that action at this time.
0 commit comments