From 4ac71d148f4b747db01056bf5b2ea18c80db28b7 Mon Sep 17 00:00:00 2001 From: Piotr Antosik Date: Mon, 20 Jan 2020 22:34:21 +0100 Subject: [PATCH] Fix invalid variable name --- workflow.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow.rst b/workflow.rst index 2a490dbe261..ae99f35f429 100644 --- a/workflow.rst +++ b/workflow.rst @@ -240,7 +240,7 @@ registry in the constructor:: // Update the currentState on the post try { - $workflow->apply($post, 'to_review'); + $workflow->apply($blogPost, 'to_review'); } catch (LogicException $exception) { // ... }