From cf0857af643afa7ba24617b179e581614cb6dc02 Mon Sep 17 00:00:00 2001 From: Jerzy Lekowski Date: Thu, 7 Jun 2018 19:27:21 +0100 Subject: [PATCH] Remove unused variable (#1340) --- RouteDescriber/FosRestDescriber.php | 1 - 1 file changed, 1 deletion(-) diff --git a/RouteDescriber/FosRestDescriber.php b/RouteDescriber/FosRestDescriber.php index e64303e..3af61d8 100644 --- a/RouteDescriber/FosRestDescriber.php +++ b/RouteDescriber/FosRestDescriber.php @@ -39,7 +39,6 @@ final class FosRestDescriber implements RouteDescriberInterface foreach ($this->getOperations($api, $route) as $operation) { foreach ($annotations as $annotation) { - $in = $annotation instanceof QueryParam ? 'query' : 'formData'; if ($annotation instanceof QueryParam) { $parameter = $operation->getParameters()->get($annotation->getName(), 'query'); $parameter->setAllowEmptyValue($annotation->nullable && $annotation->allowBlank);