It's correct but not optimal. This is better because, as I said, it safes a condition.

```
if (null !== $this->kernel) {
    $requestTime = $this->kernel->getStartTime();
} else {
    $requestTime = $request->server->get('REQUEST_TIME_FLOAT', $request->server->get('REQUEST_TIME'));
}
```