File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
tests/bundle/Core/EventListener Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,6 @@ public function testGetSubscribedEvents(): void
6060 }
6161
6262 /**
63- * @param \Exception $exception
64- *
6563 * @return \Symfony\Component\HttpKernel\Event\ExceptionEvent
6664 */
6765 private function generateExceptionEvent (Exception $ exception ): ExceptionEvent
@@ -119,7 +117,7 @@ public function testUnauthorizedException(): void
119117 *
120118 * @param \Exception&\Ibexa\Core\Base\Translatable $exception
121119 */
122- public function testBadRequestException ($ exception ): void
120+ public function testBadRequestException (Exception $ exception ): void
123121 {
124122 $ messageTemplate = 'some message template ' ;
125123 $ translationParams = ['some ' => 'thing ' ];
@@ -260,7 +258,7 @@ private function mockTranslatorTrans(
260258 private function assertSameException (
261259 string $ expectedException ,
262260 ExceptionEvent $ event ,
263- $ exception ,
261+ Exception $ exception ,
264262 string $ translatedMessage
265263 ): void {
266264 $ this ->listener ->onKernelException ($ event );
You can’t perform that action at this time.
0 commit comments