------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line module-customer-price/Setup/Patch/Data/AddCustomerCurrencyAttribute.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
64 Method Commerce365\CustomerPrice\Setup\Patch\Data\AddCustomerCurrencyAttribute::apply() should return $this(Commerce365\CustomerPrice\Setup\Patch\Data\AddCustomerCurrencyAttribute) but return statement is missing.
The PatchInterface this class implements, expects the
apply()
method to return$this
: https://github.com/magento/magento2/blob/2.4.6/lib/internal/Magento/Framework/Setup/Patch/PatchInterface.php#L31Was found using phpstan running on level 1: