Closed Gummibeer closed 5 years ago
and this is how it looks if you don't want to run local CircleCI cli. 🙈 😂
@Gummibeer I'm trying to understand why this change fixes the bug. Can you please explain?
Also, the first argument ($key) is never used. Why do we need it in isEmptyTranslatableAttribute()
?
@dimsav I see no way to cover all possible cases in this package with a single comparison - all will fail in some circumstances.
Putting the check in a special method which provides $key
and $value
allows the user to put in his custom logic which can also differ by attribute name and can also combine multiple checks like is_null($value) || $value === ''
.
So this is primary the solution to give the user the tools and ability to adjust the logic.
Love it. Good to go. 👌
fixes #393 fixes #543 fixes #573