diff --git a/src/events/CatalogPricingJobEvent.php b/src/events/CatalogPricingJobEvent.php index 2a3d953e09..8622c263ea 100644 --- a/src/events/CatalogPricingJobEvent.php +++ b/src/events/CatalogPricingJobEvent.php @@ -7,9 +7,6 @@ namespace craft\commerce\events; -use craft\commerce\base\Plan; -use craft\commerce\models\subscriptions\SubscriptionForm; -use craft\elements\User; use craft\events\CancelableEvent; /** diff --git a/src/services/CatalogPricing.php b/src/services/CatalogPricing.php index 2cf5d3dbbd..c76f1276ee 100755 --- a/src/services/CatalogPricing.php +++ b/src/services/CatalogPricing.php @@ -44,7 +44,7 @@ class CatalogPricing extends Component /** * @since 5.3.0 */ - const EVENT_BEFORE_CREATE_CATALOG_PRICING_JOB = 'beforeCreateCatalogPricingJob'; + public const EVENT_BEFORE_CREATE_CATALOG_PRICING_JOB = 'beforeCreateCatalogPricingJob'; /** * @var array|null