Commit 649d0465 authored by Fabian Galinski's avatar Fabian Galinski 😾
Browse files

[TASK] Restore of the PHP 7.0 compatibility

parent 1b6b97d4
......@@ -1030,7 +1030,7 @@ class MailTemplateService {
* @param int $siteRootId
* @return Layout|NULL
*/
private function getLayoutSource(int $layoutUid, int $siteRootId): ?Layout {
private function getLayoutSource(int $layoutUid, int $siteRootId) {
$languageUid = 0;
if ($this->language !== self::DEFAULT_LANGUAGE) {
$languageUid = (int) array_search($this->language, $this->getAvailableLanguages(), TRUE);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment