@@ -97,7 +97,7 @@ public function setRedelivered(bool $redelivered): void
9797 $ this ->redelivered = $ redelivered ;
9898 }
9999
100- public function setCorrelationId (string $ correlationId = null ): void
100+ public function setCorrelationId (? string $ correlationId = null ): void
101101 {
102102 $ headers = $ this ->getHeaders ();
103103 $ headers ['correlation_id ' ] = (string ) $ correlationId ;
@@ -110,7 +110,7 @@ public function getCorrelationId(): ?string
110110 return $ this ->getHeader ('correlation_id ' );
111111 }
112112
113- public function setMessageId (string $ messageId = null ): void
113+ public function setMessageId (? string $ messageId = null ): void
114114 {
115115 $ headers = $ this ->getHeaders ();
116116 $ headers ['message_id ' ] = (string ) $ messageId ;
@@ -130,15 +130,15 @@ public function getTimestamp(): ?int
130130 return null === $ value ? null : (int ) $ value ;
131131 }
132132
133- public function setTimestamp (int $ timestamp = null ): void
133+ public function setTimestamp (? int $ timestamp = null ): void
134134 {
135135 $ headers = $ this ->getHeaders ();
136136 $ headers ['timestamp ' ] = (int ) $ timestamp ;
137137
138138 $ this ->setHeaders ($ headers );
139139 }
140140
141- public function setReplyTo (string $ replyTo = null ): void
141+ public function setReplyTo (? string $ replyTo = null ): void
142142 {
143143 $ this ->setHeader ('reply_to ' , $ replyTo );
144144 }
0 commit comments