File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Tax/Model Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -831,20 +831,20 @@ public function getInfoUrl($store = null)
831831 * If it necessary will be returned conversion type (minus or plus)
832832 *
833833 * @param null|int|string|Store $store
834- * @return bool
834+ * @return bool|int
835835 * @SuppressWarnings(PHPMD.CyclomaticComplexity)
836836 */
837837 public function needPriceConversion ($ store = null )
838838 {
839- $ res = false ;
839+ $ res = 0 ;
840840 $ priceIncludesTax = $ this ->priceIncludesTax ($ store ) || $ this ->getNeedUseShippingExcludeTax ();
841841 if ($ priceIncludesTax ) {
842842 switch ($ this ->getPriceDisplayType ($ store )) {
843843 case self ::DISPLAY_TYPE_EXCLUDING_TAX :
844844 case self ::DISPLAY_TYPE_BOTH :
845845 return self ::PRICE_CONVERSION_MINUS ;
846846 case self ::DISPLAY_TYPE_INCLUDING_TAX :
847- $ res = true ;
847+ $ res = false ;
848848 break ;
849849 default :
850850 break ;
You can’t perform that action at this time.
0 commit comments