Conversation
|
The original PR was from @jakejohns #131 . I spend quite sometime to make this happen. There are some glitches. But I am not sure how we can overcome that. If anyone have better ways we can consider that also. |
|
Anyone else interested in contributing can comment on this PR. I am happy to hear criticims. So no issues for raising the bar. |
| * | ||
| */ | ||
| protected function failed(Spec $spec): Failure | ||
| protected function failed(Spec $spec) |
There was a problem hiding this comment.
This is one place I dislike.
There was a problem hiding this comment.
Is return void sufficient? The caller does not use the return value.
There was a problem hiding this comment.
Earlier it was returning the Failure. As it currently changed this now can return Failure or FailureCollection. ie why return is removed. I will look once again if this returned value has some value inside the caller.
There was a problem hiding this comment.
This method is to add a failure. It seems no return value is needed.
Fix return type
Rename subfilter to subFilter
kenjis
left a comment
There was a problem hiding this comment.
The implementation looks good to me.
Co-authored-by: Akihito Koriyama <akihito.koriyama@gmail.com>
Related to #155 .
Support maximum of 2.
RESULT :