-
Notifications
You must be signed in to change notification settings - Fork 21
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
Change prepareRequest to a reducer #10
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10 +/- ##
=======================================
Coverage 100% 100%
+ Complexity 61 60 -1
=======================================
Files 5 5
Lines 169 143 -26
=======================================
- Hits 169 143 -26
Continue to review full report at Codecov.
|
Hey Ben, could you take a look at this when you get a chance? Should be ready to go. |
src/Renderer.php
Outdated
} | ||
return $job; | ||
}, $jobs); | ||
$parsedJobs = $jobs; |
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.
can I ask why you called this parsedJobs
? there's no parsing going on here
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.
Because I misread prepared
will fix!
LGTM after nit |
This change changes the
prepareRequest
to behave as a reducer for jobs instead of a mapper(?).