$data['customUrls'] = $this->getCustomUrls($data['landingPages']);
$data['applicationOverrides'] = $this->getApplicationOverrides($data['customUrls']);
- $this->handleLandingPageWithOverriddenApplication($data);
+ $data = $this->handleLandingPageWithOverriddenApplication($data);
return $data;
}
return $data;
}
- protected function handleLandingPageWithOverriddenApplication(array &$data)
+ protected function handleLandingPageWithOverriddenApplication(array $data): array
{
if (!PACKAGE_ID) {
- return;
+ return $data;
}
$landingPageController = $data['landingPages']['wcf'][0];
$data['landingPages'][$overriddenApplication] = \array_slice($data['landingPages']['wcf'], 0);
}
}
+
+ return $data;
}
}