Bug 24151: (QA follow-up) Fix POD warnings from QA tools
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 19 Jun 2020 07:27:35 +0000 (07:27 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 20 Jul 2020 13:17:42 +0000 (15:17 +0200)
                POD is missing for get_hash
                POD is missing for new_from_statistic
                POD is missing for 'object_class'

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Koha/PseudonymizedTransaction.pm
Koha/PseudonymizedTransactions.pm

index 269597f..4af9116 100644 (file)
@@ -33,7 +33,9 @@ Koha::PseudonymizedTransaction - Koha Koha::PseudonymizedTransaction Object clas
 
 =head2 Class methods
 
-=head3 new
+=head3 new_from_statistic
+
+    Creates new object from a passed Koha::Statistic object
 
 =cut
 
@@ -98,6 +100,13 @@ sub new_from_statistic {
     return $self;
 }
 
+=head3 get_hash
+
+    Generates a hashed value for $s (e.g. borrowernumber) with Bcrypt.
+    Needs config entry 'key' in koha-conf.
+
+=cut
+
 sub get_hash {
     my ( $class, $s ) = @_;
     my $key = C4::Context->config('key');
index c9e74e7..06ea08a 100644 (file)
@@ -43,6 +43,10 @@ sub _type {
     return 'PseudonymizedTransaction';
 }
 
+=head3 object_class
+
+=cut
+
 sub object_class {
     return 'Koha::PseudonymizedTransaction';
 }