Bug 20443: Fix POD
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 21 Jan 2020 12:03:56 +0000 (13:03 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 23 Mar 2020 13:49:23 +0000 (13:49 +0000)
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: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Patron/Attribute.pm
Koha/Patron/Attributes.pm
Koha/Patrons.pm

index 8d781b7..9118a7f 100644 (file)
@@ -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;
 
index 84685d9..0e03c32 100644 (file)
@@ -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
 
index 0b65756..6943018 100644 (file)
@@ -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