diff --git a/Models/Session.php b/Models/Session.php index a8e6de0..33c0215 100755 --- a/Models/Session.php +++ b/Models/Session.php @@ -105,6 +105,13 @@ class Session implements \JsonSerializable $this->createdAt = new \DateTimeImmutable('now'); } + /** + * Recalculate the session data after changing its elements + * + * @return void + * + * @since 1.0.0 + */ public function recalculate() : void { \usort($this->sessionElements, [$this, 'compareSessionElementTimestamps']);