-
Notifications
You must be signed in to change notification settings - Fork 123
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
Fix Step priorities #293 #294
Conversation
$priority = null === $priority && $step instanceof PriorityStep ? $step->getPriority() : null; | ||
if (null === $priority) { | ||
$priority = $step instanceof PriorityStep ? $step->getPriority() : null; | ||
} |
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.
@mattrq - couldn't this just be something like:
$priority = null === $priority && $step instanceof PriorityStep ? $step->getPriority() : $priority;
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.
Sure that would work too.
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.
@mattrq - might be a little nicer to read? Obviously, though, both with work as expected :-)
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.
@kyleobrien91 The pull request has been updated. Your way keeps to the coding style.
Fix #293. |
Tagged 0.19.1. |
Thanks a lot, @mattrq and @kyleobrien91! 🍻 |
No description provided.