From 769ae66d5e0b50ba7d806e32ade347737b2a7ebc Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 29 Mar 2018 13:00:36 +0000 Subject: [PATCH] Bug 20052: (follow-up) Fix QA tool complaints and bad copy Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- Koha/Report.pm | 4 +++- Koha/Reports.pm | 10 +++++++++- t/db_dependent/Koha/Reports.t | 2 -- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Koha/Report.pm b/Koha/Report.pm index a4b540d9cd..3be4415fc9 100644 --- a/Koha/Report.pm +++ b/Koha/Report.pm @@ -33,7 +33,9 @@ Koha::Report - Koha Report Object class =cut -=head3 type +=head3 _type + +Returns name of corresponding DBIC resultset =cut diff --git a/Koha/Reports.pm b/Koha/Reports.pm index c0715ae7c6..ca687a34b8 100644 --- a/Koha/Reports.pm +++ b/Koha/Reports.pm @@ -35,7 +35,9 @@ Koha::Reports - Koha Report Object set class =cut -=head3 type +=head3 _type + +Returns name of corresponding DBIC resultset =cut @@ -43,6 +45,12 @@ sub _type { return 'SavedSql'; } +=head3 object_class + +Returns name of corresponding Koha Object Class + +=cut + sub object_class { return 'Koha::Report'; } diff --git a/t/db_dependent/Koha/Reports.t b/t/db_dependent/Koha/Reports.t index 4948e12a52..45c5662247 100644 --- a/t/db_dependent/Koha/Reports.t +++ b/t/db_dependent/Koha/Reports.t @@ -1,7 +1,5 @@ #!/usr/bin/perl -# Copyright 2015 Koha Development team -# # This file is part of Koha # # Koha is free software; you can redistribute it and/or modify it -- 2.39.5