Skip to content

Commit

Permalink
Remove return types for now to error gracefully. (#5239)
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Sep 19, 2022
1 parent 284174e commit 73300d4
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit 73300d4

Please sign in to comment.