File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ public function onKernelRequest(GetResponseEvent $event): void
94
94
/**
95
95
* @param GetResponseForExceptionEvent $event
96
96
*/
97
- public function onKernelException (GetResponseForExceptionEvent $ event )
97
+ public function onKernelException (GetResponseForExceptionEvent $ event ): void
98
98
{
99
99
$ exception = $ event ->getException ();
100
100
@@ -114,15 +114,15 @@ public function onKernelException(GetResponseForExceptionEvent $event)
114
114
*
115
115
* @return void
116
116
*/
117
- public function onConsoleCommand (ConsoleCommandEvent $ event )
117
+ public function onConsoleCommand (ConsoleCommandEvent $ event ): void
118
118
{
119
119
// only triggers loading of client, does not need to do anything.
120
120
}
121
121
122
122
/**
123
123
* @param ConsoleErrorEvent $event
124
124
*/
125
- public function onConsoleException (ConsoleErrorEvent $ event )
125
+ public function onConsoleException (ConsoleErrorEvent $ event ): void
126
126
{
127
127
$ command = $ event ->getCommand ();
128
128
/** @var \Exception $exception to avoid issues with PHPStan */
Original file line number Diff line number Diff line change @@ -17,21 +17,21 @@ interface SentryExceptionListenerInterface
17
17
*
18
18
* @param GetResponseEvent $event
19
19
*/
20
- public function onKernelRequest (GetResponseEvent $ event );
20
+ public function onKernelRequest (GetResponseEvent $ event ): void ;
21
21
22
22
/**
23
23
* When an exception occurs as part of a web request, this method will be
24
24
* triggered for capturing the error.
25
25
*
26
26
* @param GetResponseForExceptionEvent $event
27
27
*/
28
- public function onKernelException (GetResponseForExceptionEvent $ event );
28
+ public function onKernelException (GetResponseForExceptionEvent $ event ): void ;
29
29
30
30
/**
31
31
* When an exception occurs on the command line, this method will be
32
32
* triggered for capturing the error.
33
33
*
34
34
* @param ConsoleErrorEvent $event
35
35
*/
36
- public function onConsoleException (ConsoleErrorEvent $ event );
36
+ public function onConsoleException (ConsoleErrorEvent $ event ): void ;
37
37
}
You can’t perform that action at this time.
0 commit comments