Skip to content

Commit

Permalink
[TASK] Ignore error about possibly impure method call
Browse files Browse the repository at this point in the history
  • Loading branch information
eliashaeussler committed May 17, 2024
1 parent 6800caf commit 48aa75b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/Mapper/MapperFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ public function get(): Valinor\Mapper\TreeMapper
}

/**
* @pure
* @throws Core\Exception\SiteNotFoundException
*/
private function mapSites(string $siteIdentifier): Core\Site\Entity\Site
{
/** @phpstan-ignore possiblyImpure.methodCall */
return $this->siteFinder->getSiteByIdentifier($siteIdentifier);
}
}

0 comments on commit 48aa75b

Please sign in to comment.