Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Commit

Permalink
fix typehinting
Browse files Browse the repository at this point in the history
  • Loading branch information
holyshared committed May 8, 2015
1 parent bed57f0 commit 3fc8743
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/result/ResultFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@ public function __construct(FileReflection $fileReflection)
}

/**
* @param LineResultCollectionInterface $lineCoverages
* @param LineResultSelectable $lineCoverages
* @return CoverageResultCollection
*/
public function createClassResults(LineResultCollectionInterface $lineCoverages)
public function createClassResults(LineResultSelectable $lineCoverages)
{
$reflections = $this->fileReflection->getClasses();
return $reflections->convertToResult($lineCoverages);
}

/**
* @param LineResultCollectionInterface $lineCoverages
* @param LineResultSelectable $lineCoverages
* @return CoverageResultCollection
*/
public function createTraitResults(LineResultCollectionInterface $lineCoverages)
public function createTraitResults(LineResultSelectable $lineCoverages)
{
$reflections = $this->fileReflection->getTraits();
return $reflections->convertToResult($lineCoverages);
Expand Down

0 comments on commit 3fc8743

Please sign in to comment.