webshopapps / module-matrixrate

WebShopApps MatrixRates for Magento2
Open Software License 3.0
120 stars 64 forks source link

Add null coalescing operator for php8.1 compatibility #113

Closed chris-pook closed 2 years ago

chris-pook commented 2 years ago

Due to the core RateRequest::getDestPostcode() function returning null in some circumstances this ensures a php8.1 compatible value is supplied to the trim function.

HRR1337 commented 2 years ago

Veryfied the pullrequest. It works :-)

wsajosh commented 2 years ago

Thanks @chris-pook, we've addressed this in the latest version