Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove return types for now to error gracefully. #5239

Merged
merged 1 commit into from Sep 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/Preflight/PreflightSiteLocator.php
Expand Up @@ -34,7 +34,7 @@ public function __construct(SiteAliasManager $siteAliasManager)
*
* @return SiteAlias|false
*/
public function findSite(PreflightArgsInterface $preflightArgs, Environment $environment, string $root): SiteAlias
public function findSite(PreflightArgsInterface $preflightArgs, Environment $environment, string $root)
{
$self = $this->determineSelf($preflightArgs, $environment, $root);

Expand All @@ -55,8 +55,10 @@ public function findSite(PreflightArgsInterface $preflightArgs, Environment $env
* @param PreflightArgsInterface $preflightArgs
* @param Environment $environment
* @param $root
*
* @return SiteAlias|false
*/
protected function determineSelf(PreflightArgsInterface $preflightArgs, Environment $environment, $root): SiteAlias
protected function determineSelf(PreflightArgsInterface $preflightArgs, Environment $environment, $root)
{
if ($preflightArgs->hasAlias()) {
$aliasName = $preflightArgs->alias();
Expand Down