mirror of
https://github.com/Karaka-Management/oms-HumanResourceTimeRecording.git
synced 2026-01-25 10:08:43 +00:00
fix tests
This commit is contained in:
parent
e83f48c138
commit
1419f26f89
|
|
@ -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']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user