Skip to content

Commit 8b6fa18

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: [Workflow] Update code block according to its implementation
2 parents 3c52174 + 568924e commit 8b6fa18

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: workflow.rst

+8-2
Original file line numberDiff line numberDiff line change
@@ -960,12 +960,18 @@ the
960960

961961
final class BlogPostMarkingStore implements MarkingStoreInterface
962962
{
963-
public function getMarking(BlogPost $subject): Marking
963+
/**
964+
* @param BlogPost $subject
965+
*/
966+
public function getMarking(object $subject): Marking
964967
{
965968
return new Marking([$subject->getCurrentPlace() => 1]);
966969
}
967970

968-
public function setMarking(BlogPost $subject, Marking $marking): void
971+
/**
972+
* @param BlogPost $subject
973+
*/
974+
public function setMarking(object $subject, Marking $marking, array $context = []): void
969975
{
970976
$marking = key($marking->getPlaces());
971977
$subject->setCurrentPlace($marking);

0 commit comments

Comments
 (0)