mirror of
https://github.com/Karaka-Management/oms-HumanResourceTimeRecording.git
synced 2026-02-11 10:28:41 +00:00
php cs and stan fixes
This commit is contained in:
parent
53b1d327ab
commit
b5512b4a98
|
|
@ -151,7 +151,7 @@ final class SessionMapper extends DataMapperAbstract
|
||||||
->orderBy(self::$table.'.hr_timerecording_session_start', 'DESC')
|
->orderBy(self::$table.'.hr_timerecording_session_start', 'DESC')
|
||||||
->limit(1);
|
->limit(1);
|
||||||
|
|
||||||
/** @var Session[] $session */
|
/** @var Session[] $sessions */
|
||||||
$sessions = self::getAllByQuery($query, RelationType::ALL, 6);
|
$sessions = self::getAllByQuery($query, RelationType::ALL, 6);
|
||||||
|
|
||||||
if (empty($sessions)) {
|
if (empty($sessions)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user