From 5a95cd80cdb3593b46bb3a1cbedb5db3061b4e13 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 9 Nov 2017 17:24:02 +0100 Subject: [PATCH] Fix #21 --- Models/Department.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/Department.php b/Models/Department.php index 2e20838..4c8d9e5 100644 --- a/Models/Department.php +++ b/Models/Department.php @@ -15,7 +15,7 @@ declare(strict_types = 1); namespace Modules\RiskManagement\Models; -use Modules\Organization\Models\NullDepartment; +use Modules\Organization\Models\NullDepartment as NullOrgDepartment; /** * Risk Management class. @@ -47,7 +47,7 @@ class Department public function getDepartment() { - return $this->department ?? new NullDepartment(); + return $this->department ?? new NullOrgDepartment(); } public function setDepartment($department)