Skip to content
Snippets Groups Projects
Commit ccb5e5ae authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[BUGFIX] Remove the return type hint for getDepartment

This commit solves a problem with jobs that do not have a department
set
parent 79973758
No related branches found
No related tags found
No related merge requests found
...@@ -210,9 +210,9 @@ class Job extends AbstractEntity { ...@@ -210,9 +210,9 @@ class Job extends AbstractEntity {
} }
/** /**
* @return Department * @return Department|NULL
*/ */
public function getDepartment(): Department { public function getDepartment() {
return $this->department; return $this->department;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment