Skip to content

Commit ab33e29

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: [Workflow] Update code block according to its implementation
2 parents 2075959 + a020450 commit ab33e29

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

workflow.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -968,12 +968,18 @@ the
968968

969969
final class BlogPostMarkingStore implements MarkingStoreInterface
970970
{
971-
public function getMarking(BlogPost $subject): Marking
971+
/**
972+
* @param BlogPost $subject
973+
*/
974+
public function getMarking(object $subject): Marking
972975
{
973976
return new Marking([$subject->getCurrentPlace() => 1]);
974977
}
975978

976-
public function setMarking(BlogPost $subject, Marking $marking): void
979+
/**
980+
* @param BlogPost $subject
981+
*/
982+
public function setMarking(object $subject, Marking $marking, array $context = []): void
977983
{
978984
$marking = key($marking->getPlaces());
979985
$subject->setCurrentPlace($marking);

0 commit comments

Comments
 (0)