No need to unset non-existing variable #1059

This commit is contained in:
James Cole 2017-12-21 07:59:22 +01:00 committed by GitHub
parent 36c8275f5e
commit 840705f793
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ class Amount implements ConverterInterface
Log::debug(sprintf('Searched from the left for "." in amount "%s", assume this is the decimal sign.', $value));
$decimal = '.';
}
unset($options, $res, $candidate);
unset($options, $res);
}
// if decimal is dot, replace all comma's and spaces with nothing. then parse as float (round to 4 pos)