Bug 16136: Koha::Patron contains 'return undef' and fails critic tests
authorTomas Cohen Arazi <tomascohen@unc.edu.ar>
Wed, 23 Mar 2016 17:57:41 +0000 (14:57 -0300)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 24 Mar 2016 15:35:40 +0000 (15:35 +0000)
commit0f8792961cbe6b35a2042b9dc8005578d66b111b
tree5742f3e93bab226851f0d42516c99c8cc5d88591
parent630301673605733429c4ae79e125053cf4169376
 Bug 16136: Koha::Patron contains 'return undef' and fails critic tests

This patch fixes this issue.

To test:
- Run
  $ TEST_QA=1 prove t/00-testcritic.t
=> FAIL: Koha::Patron makes the tests fail.
- Apply the patch
- Run
  $ TEST_QA=1 prove t/00-testcritic.t
=> SUCCESS: tests PASS
- Sign off

Regards

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
Koha/Patron.pm