From 0f8a9238152329599ccb38eaa5910b4cecd3d58f Mon Sep 17 00:00:00 2001 From: "Dmitry V. Alekseev" Date: Fri, 28 Aug 2020 15:37:01 +0300 Subject: [PATCH] Allow serialized workflow to be nullable @see https://github.com/phpmentors-jp/workflower-bundle/blob/ecb52505923167b59e2445cfd939a29019ab2a72/src/Persistence/DoctrineLifecycleListener.php#L63 --- src/Persistence/WorkflowSerializableInterface.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Persistence/WorkflowSerializableInterface.php b/src/Persistence/WorkflowSerializableInterface.php index 687071f..c4a5d23 100644 --- a/src/Persistence/WorkflowSerializableInterface.php +++ b/src/Persistence/WorkflowSerializableInterface.php @@ -18,12 +18,12 @@ interface WorkflowSerializableInterface extends WorkflowAwareInterface { /** - * @param string $serializedWorkflow + * @param string|null $serializedWorkflow */ public function setSerializedWorkflow($serializedWorkflow); /** - * @return string + * @return string|null */ public function getSerializedWorkflow();