Skip to content
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

Merged
merged 2 commits into from
Jun 9, 2016
Merged

Fix Step priorities #293 #294

merged 2 commits into from
Jun 9, 2016

Conversation

ghost
Copy link

@ghost ghost commented May 23, 2016

No description provided.

@ghost ghost mentioned this pull request May 23, 2016
$priority = null === $priority && $step instanceof PriorityStep ? $step->getPriority() : null;
if (null === $priority) {
$priority = $step instanceof PriorityStep ? $step->getPriority() : null;
}

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;

Copy link
Author

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.

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 :-)

Copy link
Author

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.

@ghost ghost changed the title Fix Step priorities https://github.com/ddeboer/data-import/issues/293 Fix Step priorities #293 Jun 7, 2016
@ddeboer ddeboer merged commit 9fb9571 into ddeboer:master Jun 9, 2016
@ddeboer
Copy link
Owner

ddeboer commented Jun 9, 2016

Fix #293.

@ddeboer
Copy link
Owner

ddeboer commented Jun 9, 2016

Tagged 0.19.1.

@ddeboer
Copy link
Owner

ddeboer commented Jun 10, 2016

Thanks a lot, @mattrq and @kyleobrien91! 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants