Skip to content
Snippets Groups Projects
Commit 591fade4 authored by Mohd Sahzad's avatar Mohd Sahzad Committed by Jonathan Sacksick
Browse files

Issue #3380846 by Mohd Sahzad, kaszarobert, tibezh: PHP 8.3 Deprecated...

Issue #3380846 by Mohd Sahzad, kaszarobert, tibezh: PHP 8.3 Deprecated function: Calling get_class() without arguments is deprecated.
parent 1b66cff0
Branches
Tags
7 merge requests!418Issue #3511232 by ccjjmartin: Fix add to cart dropdown when only one non-default variation type is provided,!379Issue #3491248 Validation is breaking the amount number format decimal point,!375Issue #3413020 by czigor: Using a translatable string as a category for field...,!357Issue #2914933: Add service tags to order-related interfaces,!344Resolve #3107602 "Product attributes do not update visually when switching variations",!343Resolve #3107602 "Product attributes do not update visually when switching variations",!342Issue #3476581 by josephr5000: add OrderItemLabelEvent
Pipeline #68816 passed
......@@ -41,7 +41,7 @@ trait CommerceElementTrait {
// The #validate callbacks of the complete form run last.
// That allows executeElementSubmitHandlers() to be completely certain that
// the form has passed validation before proceeding.
$complete_form['#validate'][] = [get_class(), 'executeElementSubmitHandlers'];
$complete_form['#validate'][] = [static::class, 'executeElementSubmitHandlers'];
$complete_form['#commerce_element_submit_attached'] = TRUE;
return $element;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment