Skip to content

Conversation

@laurensvandeput
Copy link

@laurensvandeput laurensvandeput commented Dec 8, 2016

Q A
Branch? 3.2
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #20815
License MIT
Doc PR

->end()
->validate()
->ifTrue(function ($v) { return isset($v['arguments']) && isset($v['service']); })
->ifTrue(function ($v) { return (isset($v['arguments']) && !empty($v['arguments'])) && isset($v['service']); })
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isset is not needed then: return !empty($v['arguments']) &&...

@fduch
Copy link
Contributor

fduch commented Dec 8, 2016

This PR duplicates already submitted #20760

@stof
Copy link
Member

stof commented Dec 8, 2016

Can you add a test covering this to ensure we don't get a regression ?

@HeahDude
Copy link
Contributor

HeahDude commented Dec 8, 2016

Should be closed as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants