Skip to content

Commit 304e413

Browse files
author
Mathieu Capdeville
committed
[Workflow] Update code block according to its implementation
1 parent 85268b4 commit 304e413

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

workflow.rst

+8-2
Original file line numberDiff line numberDiff line change
@@ -864,12 +864,18 @@ the
864864

865865
final class BlogPostMarkingStore implements MarkingStoreInterface
866866
{
867-
public function getMarking(BlogPost $subject): Marking
867+
/**
868+
* @param BlogPost $subject
869+
*/
870+
public function getMarking(object $subject): Marking
868871
{
869872
return new Marking([$subject->getCurrentPlace() => 1]);
870873
}
871874

872-
public function setMarking(BlogPost $subject, Marking $marking): void
875+
/**
876+
* @param BlogPost $subject
877+
*/
878+
public function setMarking(object $subject, Marking $marking, array $context = []): void
873879
{
874880
$marking = key($marking->getPlaces());
875881
$subject->setCurrentPlace($marking);

0 commit comments

Comments
 (0)