From 7f10f84b2efea71456bb928aad8819dc4676c5f3 Mon Sep 17 00:00:00 2001 From: Marc Littlemore Date: Thu, 20 Jul 2017 11:14:49 +0100 Subject: [PATCH] Remove unused code --- src/AmazonAPI.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/AmazonAPI.php b/src/AmazonAPI.php index 7ed5bc5..c0e808b 100644 --- a/src/AmazonAPI.php +++ b/src/AmazonAPI.php @@ -63,12 +63,6 @@ class AmazonAPI private $mErrors = array(); - private function throwIfNull($parameterValue, $parameterName) { - if ($parameterValue == NULL) { - throw new \Exception($parameterName . ' should be defined'); - } - } - public function __construct($urlBuilder, $outputType) { $this->urlBuilder = $urlBuilder; $this->dataTransformer = DataTransformerFactory::create($outputType);