From 3203a62d5bf401d2d0dbbcc1ff3effdfb5049cba Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sun, 20 Dec 2015 11:14:13 -0800 Subject: [PATCH] More descriptive variable name. --- Supporters/lib/Supporters.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Supporters/lib/Supporters.pm b/Supporters/lib/Supporters.pm index 1e8d24a..6b5c491 100644 --- a/Supporters/lib/Supporters.pm +++ b/Supporters/lib/Supporters.pm @@ -633,9 +633,9 @@ sub _getOrCreateRequestConfiguration($$) { my($self, $params) = @_; die "_getOrCreateRequestConfiguration: requestTypeId is required" unless defined $params->{requestTypeId}; - my $id = $params->{requestTypeId}; - die "_getOrCreateRequestConfiguration: requestTypeId must be a number" unless looks_like_number($id); - die "_getOrCreateRequestConfiguration: requestTypeId is unknown" unless $self->_verifyRequestTypeId($id); + my $requestTypeId = $params->{requestTypeId}; + die "_getOrCreateRequestConfiguration: requestTypeId must be a number" unless looks_like_number($requestTypeId); + die "_getOrCreateRequestConfiguration: requestTypeId is unknown" unless $self->_verifyRequestTypeId($requestTypeId); }