Skip to content

Commit 72cbb71

Browse files
[gardening] Make code pass "perlcritic" review: Avoid subroutine prototypes.
> "perlcritic" is a Perl source code analyzer. It is the executable front-end > to the Perl::Critic engine, which attempts to identify awkward, hard to read, > error-prone, or unconventional constructs in your code. Most of the rules are > based on Damian Conway's book Perl Best Practices.
1 parent b84f1d8 commit 72cbb71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/error_enum_to_cases.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use strict;
44
use English;
55

6-
sub translateAvailability($) {
6+
sub translateAvailability {
77
my $version = shift;
88
$version =~ s/^\s+|\s+$//g;
99
if ($version eq "NA") { return "unavailable"; }

0 commit comments

Comments
 (0)