Skip to content

Commit c3f4f64

Browse files
committed
Add the change notice URL for the NumberFormatterFactory deprecation.
1 parent 0a8c85b commit c3f4f64

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

modules/price/commerce_price.services.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222
commerce_price.number_formatter_factory:
2323
class: Drupal\commerce_price\NumberFormatterFactory
2424
arguments: ['@commerce_price.currency_formatter']
25-
deprecated: The "%service_id%" service is deprecated. You should use the 'commerce_price.currency_formatter' service instead. See http://drupal.org/node/the-change-notice-nid
25+
deprecated: The "%service_id%" service is deprecated. You should use the 'commerce_price.currency_formatter' service instead. See https://www.drupal.org/node/2975672
2626

2727
commerce_price.chain_price_resolver:
2828
class: Drupal\commerce_price\Resolver\ChainPriceResolver

modules/price/src/NumberFormatterFactory.php

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

55
use CommerceGuys\Intl\Formatter\CurrencyFormatterInterface;
66

7-
@trigger_error('The ' . __NAMESPACE__ . '\NumberFormatterFactory is deprecated. Instead, use \Drupal\commerce_price\CurrencyFormatter. See http://drupal.org/node/the-change-notice-nid.', E_USER_DEPRECATED);
7+
@trigger_error('The ' . __NAMESPACE__ . '\NumberFormatterFactory is deprecated. Instead, use \Drupal\commerce_price\CurrencyFormatter. See https://www.drupal.org/node/2975672.', E_USER_DEPRECATED);
88

99
/**
1010
* Defines the NumberFormatter factory.

0 commit comments

Comments
 (0)