Skip to content

Commit a020450

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: [Workflow] Update code block according to its implementation
2 parents cf3e761 + 8b6fa18 commit a020450

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
@@ -921,12 +921,18 @@ the
921921

922922
final class BlogPostMarkingStore implements MarkingStoreInterface
923923
{
924-
public function getMarking(BlogPost $subject): Marking
924+
/**
925+
* @param BlogPost $subject
926+
*/
927+
public function getMarking(object $subject): Marking
925928
{
926929
return new Marking([$subject->getCurrentPlace() => 1]);
927930
}
928931

929-
public function setMarking(BlogPost $subject, Marking $marking): void
932+
/**
933+
* @param BlogPost $subject
934+
*/
935+
public function setMarking(object $subject, Marking $marking, array $context = []): void
930936
{
931937
$marking = key($marking->getPlaces());
932938
$subject->setCurrentPlace($marking);

0 commit comments

Comments
 (0)