Skip to content

Commit 3e7efde

Browse files
author
Thomas
authored
Apply coding standards.
1 parent cefe0f3 commit 3e7efde

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/DataProvider.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,16 @@ public static function getSubscribedEvents(): array
4141

4242
public function onKernelRequest(RequestEvent $event): void
4343
{
44-
if (method_exists($event, 'isMainRequest')) { //Symfony >= 5.3
44+
if (method_exists($event, 'isMainRequest')) { // Symfony >= 5.3
4545
if ($event->isMainRequest()) {
4646
$this->httpRequest = $event->getRequest();
4747
$this->timestampStart = microtime(true);
4848
}
49-
return;
49+
50+
return;
5051
}
5152

52-
if (method_exists($event, 'isMasterRequest')) { //Symfony < 5.3
53+
if (method_exists($event, 'isMasterRequest')) { // Symfony < 5.3
5354
if ($event->isMasterRequest()) {
5455
$this->httpRequest = $event->getRequest();
5556
$this->timestampStart = microtime(true);

0 commit comments

Comments
 (0)