We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf3e761 + 8b6fa18 commit a020450Copy full SHA for a020450
workflow.rst
@@ -921,12 +921,18 @@ the
921
922
final class BlogPostMarkingStore implements MarkingStoreInterface
923
{
924
- public function getMarking(BlogPost $subject): Marking
+ /**
925
+ * @param BlogPost $subject
926
+ */
927
+ public function getMarking(object $subject): Marking
928
929
return new Marking([$subject->getCurrentPlace() => 1]);
930
}
931
- public function setMarking(BlogPost $subject, Marking $marking): void
932
933
934
935
+ public function setMarking(object $subject, Marking $marking, array $context = []): void
936
937
$marking = key($marking->getPlaces());
938
$subject->setCurrentPlace($marking);
0 commit comments