"return" statement with explicit "undef" at line 170, column 13. See page 199 of PBP. (Severity: 5)
"return" statement with explicit "undef" at line 407, column 9. See page 199 of PBP. (Severity: 5)
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
return $class->new($self);
} else {
carp $dbh->errstr;
- return undef;
+ return;
}
}
}
if (exists $self->{$attr}) {
return $self->{$attr};
} else {
- return undef;
+ return;
}
}