File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,16 @@ public static function getSubscribedEvents(): array
41
41
42
42
public function onKernelRequest (RequestEvent $ event ): void
43
43
{
44
- if (method_exists ($ event , 'isMainRequest ' )) { //Symfony >= 5.3
44
+ if (method_exists ($ event , 'isMainRequest ' )) { // Symfony >= 5.3
45
45
if ($ event ->isMainRequest ()) {
46
46
$ this ->httpRequest = $ event ->getRequest ();
47
47
$ this ->timestampStart = microtime (true );
48
48
}
49
- return ;
49
+
50
+ return ;
50
51
}
51
52
52
- if (method_exists ($ event , 'isMasterRequest ' )) { //Symfony < 5.3
53
+ if (method_exists ($ event , 'isMasterRequest ' )) { // Symfony < 5.3
53
54
if ($ event ->isMasterRequest ()) {
54
55
$ this ->httpRequest = $ event ->getRequest ();
55
56
$ this ->timestampStart = microtime (true );
You can’t perform that action at this time.
0 commit comments