Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba866d2

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: Reversed the variable name fix Fix invalid variable name
2 parents 0e27b2f + c93bd6b commit ba866d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workflow.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,9 @@ registry in the constructor::
234234
$this->workflowRegistry = $workflowRegistry;
235235
}
236236

237-
public function toReview(BlogPost $blogPost)
237+
public function toReview(BlogPost $post)
238238
{
239-
$workflow = $this->workflowRegistry->get($blogPost);
239+
$workflow = $this->workflowRegistry->get($post);
240240

241241
// Update the currentState on the post
242242
try {

0 commit comments

Comments
 (0)