From 6c95796c88daf09f4484d87daf21587a0e9cb260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurynas=20Grici=C5=ABnas?= Date: Fri, 14 Apr 2023 11:42:49 +0300 Subject: [PATCH] ... --- src/Listener/RestExceptionListener.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Listener/RestExceptionListener.php b/src/Listener/RestExceptionListener.php index bab39ac..3d71a9b 100644 --- a/src/Listener/RestExceptionListener.php +++ b/src/Listener/RestExceptionListener.php @@ -58,11 +58,6 @@ public function onKernelException($event) if (method_exists($event, 'getException')) { $exception = $event->getException(); - trigger_deprecation( - 'lib-api-bundle', - '1.5.1', - 'getException() is deprecated and should no longer be used.' - ); } else { $exception = $event->getThrowable(); }