From 8cc5bad8b6c81a82e55c234c09905c66ab945aac Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 21 Jan 2020 13:03:56 +0100 Subject: [PATCH] Bug 20443: Fix POD Fixes the following failures: FAIL Koha/Patron/Attribute.pm FAIL pod *** ERROR: empty =head3 in file Koha/Patron/Attribute.pm *** ERROR: empty =head3 in file Koha/Patron/Attribute.pm FAIL Koha/Patron/Attributes.pm FAIL pod *** ERROR: empty =head3 in file Koha/Patron/Attributes.pm FAIL pod coverage POD is missing for merge_with POD is missing for object_class FAIL Koha/Patrons.pm FAIL spelling paramter ==> parameter except the missing pod for object_class, not needed. Signed-off-by: Signed-off-by: Nick Clemens --- Koha/Patron/Attribute.pm | 4 ++-- Koha/Patron/Attributes.pm | 2 +- Koha/Patrons.pm | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Koha/Patron/Attribute.pm b/Koha/Patron/Attribute.pm index 8d781b77b1..9118a7f812 100644 --- a/Koha/Patron/Attribute.pm +++ b/Koha/Patron/Attribute.pm @@ -67,7 +67,7 @@ sub type { return scalar Koha::Patron::Attribute::Types->find( $self->code ); } -=head3 +=head3 authorised_value my $authorised_value = $attribute->authorised_value; @@ -92,7 +92,7 @@ sub authorised_value { return $av->next; } -=head3 +=head3 description my $description = $patron_attribute->description; diff --git a/Koha/Patron/Attributes.pm b/Koha/Patron/Attributes.pm index 84685d9dc5..0e03c32972 100644 --- a/Koha/Patron/Attributes.pm +++ b/Koha/Patron/Attributes.pm @@ -87,7 +87,7 @@ sub filter_by_branch_limitations { return $self->search( $or, $join ); } -=head3 +=head3 merge_with $new_attributes is an arrayref of hashrefs diff --git a/Koha/Patrons.pm b/Koha/Patrons.pm index 0b65756945..6943018e88 100644 --- a/Koha/Patrons.pm +++ b/Koha/Patrons.pm @@ -446,7 +446,7 @@ sub filter_by_attribute_type { my $patrons = Koha::Patrons->filter_by_attribute_value($attribute_value); -Return a Koha::Patrons set with patrong having the attribute value passed in paramter. +Return a Koha::Patrons set with patrong having the attribute value passed in parameter. =cut -- 2.20.1