Skip to content
Discussion options

You must be logged in to vote

Did not knew about that problem, thanks, good to know.

Doesn't that mean that the general solution would be more like: ( as is shorter and more readable and should do exactly what your code does )

Rule::prohibitedIf(!is_null($this->get('other_input')))

If not, please let me know why.

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
2 replies
@Dmitrev
Comment options

@ghost
Comment options

Comment options

You must be logged in to vote
10 replies
@Dmitrev
Comment options

@wizzymore
Comment options

@ghost
Comment options

@wizzymore
Comment options

Answer selected by Dmitrev
@ghost
Comment options

@Dmitrev
Comment options

@ghost
Comment options

@Dmitrev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants