3 Apr
2020
3 Apr
'20
3:35 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25039 --- Comment #5 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #4)
I don't think we should start testing all types of all our parameters, that will be a pain. We shoult assume $patron is a Koha::Patron, and *date* is a DateTime.
I you are implying that this shouldn't be enforced in a coding guideline and QA, I *might* agree. But if a bug implements that, I wouldn't reject it because of that. That said, we've been doing this for a while when we thought it was relevant or a good way to notify the caller so they take actions depending on the failure. -- You are receiving this mail because: You are watching all bug changes.