Skip to content

Commit

Permalink
fixup! [DeadCode] Do not remove class method if required by parent oc…
Browse files Browse the repository at this point in the history
…ntract
  • Loading branch information
TomasVotruba committed Mar 2, 2021
1 parent a920e9e commit fee06af
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ private function resolvePHPUnitDataProviderTagValueNodes(Class_ $class): array
foreach ($class->getMethods() as $classMethod) {
$phpDocInfo = $this->phpDocInfoFactory->createFromNodeOrEmpty($classMethod);

/** @var PHPUnitDataProviderTagValueNode[] $phpunitDataProviderTagValueNodes */
$foundPHPUnitDataProviderTagValueNodes = $phpDocInfo->findAllByType(PHPUnitDataProviderTagValueNode::class);
$phpunitDataProviderTagValueNodes = array_merge(
$phpunitDataProviderTagValueNodes,
Expand Down

0 comments on commit fee06af

Please sign in to comment.