Skip to content
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

Add Mark a todo as done functionality #25

Merged
merged 4 commits into from
Sep 16, 2015
Merged

Add Mark a todo as done functionality #25

merged 4 commits into from
Sep 16, 2015

Conversation

DannyvdSluijs
Copy link

Fixes issue #1

@prolic
Copy link
Member

prolic commented Sep 16, 2015

build failed, please fix php cs

* @param TodoStatus $newStatus
* @return TodoWasMarkedAsDone
*/
public static function fromStatus(TodoStatus $oldStatus, TodoId $todoId, TodoStatus $newStatus)
Copy link
Member

Choose a reason for hiding this comment

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

make todoId first argument, not second please.

Copy link
Author

Choose a reason for hiding this comment

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

Logical, will update PR when finished.

dvandersluijs added 3 commits September 16, 2015 21:45
- Added phpunit test for marking a Todo as done
- Corrected code style
- Removed status from markAsDone
@prolic prolic merged commit 2cfd998 into prooph:develop Sep 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants