Skip to content

Commit

Permalink
make generateType public
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Feb 25, 2023
1 parent 8954919 commit e1c543b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Inspector/ChangelogGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function generate(DefinitionsInterface $left, DefinitionsInterface $right
}
}

private function generateType(TypeInterface $leftType, TypeInterface $rightType, string $typeName, ?string $propertyName = null): \Generator
public function generateType(TypeInterface $leftType, TypeInterface $rightType, string $typeName, ?string $propertyName = null): \Generator
{
if (get_class($leftType) !== get_class($rightType)) {
yield SemVer::MAJOR => $this->getMessageChanged($typeName, $propertyName, TypeUtil::getTypeName($leftType), 'type', TypeUtil::getTypeName($leftType), TypeUtil::getTypeName($rightType));
Expand Down

0 comments on commit e1c543b

Please sign in to comment.