From 56d4b78bf12433bf0d4f4cd356b3e98798c56a62 Mon Sep 17 00:00:00 2001 From: Thomas Lallement Date: Tue, 16 Mar 2021 10:48:12 +0100 Subject: [PATCH] CS Fix --- RouteDescriber/FosRestDescriber.php | 1 - 1 file changed, 1 deletion(-) diff --git a/RouteDescriber/FosRestDescriber.php b/RouteDescriber/FosRestDescriber.php index 5d9770f..d800e0b 100644 --- a/RouteDescriber/FosRestDescriber.php +++ b/RouteDescriber/FosRestDescriber.php @@ -105,7 +105,6 @@ final class FosRestDescriber implements RouteDescriberInterface private function getFormat($requirements) { if ($requirements instanceof Constraint && !$requirements instanceof Regex) { - if ($requirements instanceof DateTime) { // As defined per RFC3339 if ('Y-m-d\TH:i:s' === $requirements->format) {