```php
$returnedValue = $joinPoint->getReturnedValue();
$returnedValue['sec'] += TimeTraveler::getCurrentTimeOffset();

$joinPoint->setReturnedValue($returnedValue);
````

Looks easier to read and simpler.