From 9c25541e55e80374d536332518785172778061f8 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 17 Jul 2023 10:52:03 +0000 Subject: [PATCH] Bug 33270: (QA follow-up) Tidy Resolve: WARN tidiness The file is less tidy than before (bad/messy lines before: 21, now: 24) Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi (cherry picked from commit b3aba2b06527a36ad4edcf1cafbf614c974a590e) Signed-off-by: Martin Renvoize (cherry picked from commit 1d11b4360a3684ce3dad5f1f3908fed17e99ad4b) Signed-off-by: Matt Blenkinsop --- Koha/Biblio/Metadata.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Koha/Biblio/Metadata.pm b/Koha/Biblio/Metadata.pm index 474049f75e..448a08b70f 100644 --- a/Koha/Biblio/Metadata.pm +++ b/Koha/Biblio/Metadata.pm @@ -148,7 +148,7 @@ Will return undef if the record cannot be built sub record_strip_nonxml { - my ($self, $params) = @_; + my ( $self, $params ) = @_; my $record; my $marcxml_error; @@ -159,7 +159,7 @@ sub record_strip_nonxml { $self->schema ); }; - if( $@ ){ + if ($@) { $marcxml_error = $@; chomp $marcxml_error; warn $marcxml_error; @@ -167,7 +167,7 @@ sub record_strip_nonxml { } $params->{record} = $record; - return $self->record( $params ); + return $self->record($params); } =head2 Internal methods -- 2.39.5