Skip to content
Snippets Groups Projects
Commit 550ad14d authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

adjustments according to feedback, re #132

parent 998b9abc
No related branches found
No related tags found
No related merge requests found
......@@ -283,9 +283,11 @@ class ConsultationBlock extends SimpleORMap implements PrivacyObject
}
/**
* Returns a list of responsible ranges for this block.
*
* @return array<string, array<Range>>
*/
public function getPossibleResponsibilites()
public function getPossibleResponsibilites(): array
{
if ($this->range instanceof User) {
return [
......@@ -310,7 +312,7 @@ class ConsultationBlock extends SimpleORMap implements PrivacyObject
return compact('users', 'groups', 'institutes');
}
throw new Exception('Not implemented yet');
throw new UnexpectedValueException('Not implemented yet');
}
/**
......
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