mirror of
https://github.com/Karaka-Management/oms-HumanResourceTimeRecording.git
synced 2026-02-12 18:58:41 +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');
|
$this->createdAt = new \DateTimeImmutable('now');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Recalculate the session data after changing its elements
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
public function recalculate() : void
|
public function recalculate() : void
|
||||||
{
|
{
|
||||||
\usort($this->sessionElements, [$this, 'compareSessionElementTimestamps']);
|
\usort($this->sessionElements, [$this, 'compareSessionElementTimestamps']);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user