mirror of
https://github.com/Karaka-Management/oms-RiskManagement.git
synced 2026-01-11 19:38:40 +00:00
Fix #21
This commit is contained in:
parent
64f44be321
commit
5a95cd80cd
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user