Skip to content

Introduce Versionable interface #2184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2020

Conversation

malarzm
Copy link
Member

@malarzm malarzm commented May 17, 2020

Closes #2140

@malarzm malarzm added the Task label May 17, 2020
@malarzm malarzm added this to the 2.1.0 milestone May 17, 2020
@malarzm malarzm force-pushed the versionable-interface branch 2 times, most recently from c9d7f1c to 2d071af Compare May 17, 2020 20:09
@malarzm malarzm requested a review from alcaeus May 17, 2020 20:31
interface Versionable
{
/**
* Calculates next version.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should add a hint that null will be passed if no current version exists?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I put it into @param WDYT?

@malarzm malarzm force-pushed the versionable-interface branch from 2d071af to 2d9a4e8 Compare May 18, 2020 18:37
@malarzm malarzm merged commit d74de62 into doctrine:master May 19, 2020
@malarzm malarzm deleted the versionable-interface branch May 19, 2020 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extract Versionable interface for types
2 participants