Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/workflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ you can retreive a workflow from it and use it as follows::

// ...
// Consider that $blogPost is in place "draft" by default
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// Consider that $blogPost is in place "draft" by default

// Consider that $post is in state "draft" by default
// Consider that $blogPost is in state "draft" by default
Copy link
Contributor

Choose a reason for hiding this comment

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

The line is duplicated. Maybe it will be fixed after rebasing and fixing the conflicts.

$blogPost = new BlogPost();
$workflow = $registry->get($blogPost);

Expand Down