Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 492 Bytes

2023-06-16-order-get-language-can-be-null.md

File metadata and controls

11 lines (11 loc) · 492 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Allow usage of language property on OrderEntity when not loading the language association
issue: NEXT-31655
author: Joshua Behrens
author_email: code@joshua-behrens.de
author_github: @JoshuaBehrens
---

Core

  • Changed return type of \Shopware\Core\Checkout\Order::getLanguage() to also allow null
  • Changed parameter type of \Shopware\Core\Checkout\Order::setLanguage() to also allow null
  • Changed PHPdoc type of \Shopware\Core\Checkout\Order::$language to also allow null