diff --git a/core/modules/rest/src/RequestHandler.php b/core/modules/rest/src/RequestHandler.php index 4b7020c..8001e5b 100644 --- a/core/modules/rest/src/RequestHandler.php +++ b/core/modules/rest/src/RequestHandler.php @@ -172,7 +172,6 @@ protected function createArgumentResolver(RouteMatchInterface $route_match, $uns // not based on position but on name and typehint, specify commonly used // names here. Similarly, those methods receive the original stored object // as the first method argument. - $route_arguments_entity = NULL; // Try to find a parameter which is an entity. foreach ($route_arguments as $value) {