Completed
Branch master (69e5dd)
by Tomáš
04:18
created
src/Application/ResponseRecorder.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -25,11 +25,18 @@
 block discarded – undo
25 25
 		$this->eventBus = $eventBus;
26 26
 	}
27 27
 
28
+	/**
29
+	 * @param \Closure $callback
30
+	 */
28 31
 	public function recordOn($callback): BasicMutationResponse
29 32
 	{
30 33
 		$responseBuilder = BasicMutationResponseBuilder::create();
31 34
 		$this->eventBus->attach(
32 35
 			EventBus::EVENT_DISPATCH,
36
+
37
+			/**
38
+			 * @param \Closure $actionEvent
39
+			 */
33 40
 			function (ActionEvent $actionEvent) use ($responseBuilder): void {
34 41
 				$event = $actionEvent->getParam(MessageBus::EVENT_PARAM_MESSAGE);
35 42
 				if (!$event instanceof DomainEvent) {
Please login to merge, or discard this patch.