From 0233863aa126fbe43f8e3608746ef808fd9b7460 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 25 Apr 2024 03:26:52 +0000 Subject: [PATCH] fix tests --- Models/EmployeeHistory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Models/EmployeeHistory.php b/Models/EmployeeHistory.php index 7160ca4..1773956 100755 --- a/Models/EmployeeHistory.php +++ b/Models/EmployeeHistory.php @@ -153,7 +153,7 @@ class EmployeeHistory implements \JsonSerializable { return [ 'id' => $this->id, - 'employee' => \is_int($this->employee) ? $this->employee : $this->employee->id, + 'employee' => $this->employee->id, 'unit' => $this->unit, 'department' => $this->department, 'position' => $this->position,