From 48a0992c200c871504216f2fcb1e268839b23f64 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 --- 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 a4b540d..3be4415 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 c0715ae..ca687a3 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 4948e12..45c5662 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.1.4