Add explicit returns

This commit is contained in:
Rumperuu 2021-03-20 15:02:00 +00:00
parent ee7fe2c7b4
commit c5c074903d
44 changed files with 191 additions and 11 deletions

View file

@ -55,6 +55,8 @@ sub run {
{ key => 'primary' },
);
}
return 1;
}
=head1 SYNOPSIS

View file

@ -90,6 +90,8 @@ sub run {
},
}
);
return 1;
}
=head1 SYNOPSIS

View file

@ -90,6 +90,8 @@ sub run {
}
}
}
return 1;
}
=head1 SYNOPSIS

View file

@ -29,6 +29,8 @@ sub run {
);
$result->update( { distance => $distance } ) if defined $distance;
}
return 1;
}
sub _set_lat_long_for_result {
@ -53,6 +55,8 @@ sub _set_lat_long_for_result {
);
}
}
return 1;
}
sub _calculate_distance {

View file

@ -71,6 +71,8 @@ sub run {
}
}
}
return 1;
}
=head1 SYNOPSIS

View file

@ -13,6 +13,8 @@ sub run {
my $leaderboard_rs = $self->app->schema->resultset('Leaderboard');
$leaderboard_rs->recalculate_all;
return 1;
}
=head1 SYNOPSIS

View file

@ -153,6 +153,8 @@ sub run {
$recur_result->update( { last_updated => $purchase_time } );
}
return 1;
}
=head1 SYNOPSIS