-
-
Notifications
You must be signed in to change notification settings - Fork 28
Convert envelope trait to abstract class #231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@@ -37,12 +37,4 @@ public function getMetadata(): array | |||
{ | |||
return $this->metadata; | |||
} | |||
|
|||
public function withMetadata(array $metadata): self |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any real-world use cases. Do you?
src/Message/Envelope.php
Outdated
@@ -23,14 +20,6 @@ public function getMessage(): MessageInterface | |||
return $this->message; | |||
} | |||
|
|||
public function withMessage(MessageInterface $message): self |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any real-world use cases. Do you?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #231 +/- ##
============================================
+ Coverage 95.72% 96.55% +0.83%
+ Complexity 354 353 -1
============================================
Files 46 46
Lines 958 958
============================================
+ Hits 917 925 +8
+ Misses 41 33 -8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems, this PR significantly degraded performance (see benchmark CI).
No description provided.