@@ -24,5 +24,8 @@ |
||
24 | 24 | */ |
25 | 25 | interface SelfServiceExecutable |
26 | 26 | { |
27 | + /** |
|
28 | + * @return string |
|
29 | + */ |
|
27 | 30 | public function getIdentityId(); |
28 | 31 | } |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | } |
104 | 104 | |
105 | 105 | /** |
106 | - * @param string $actorId |
|
106 | + * @param IdentityId $actorId |
|
107 | 107 | * @param Command $command |
108 | 108 | */ |
109 | 109 | private function assertSelfServiceCommandMayBeExecutedOnBehalfOf(IdentityId $actorId, Command $command) |
@@ -139,8 +139,8 @@ discard block |
||
139 | 139 | } |
140 | 140 | |
141 | 141 | /** |
142 | - * @param string $actorId |
|
143 | - * @param string $actorInstitution |
|
142 | + * @param IdentityId $actorId |
|
143 | + * @param Institution $actorInstitution |
|
144 | 144 | * @param Command $command |
145 | 145 | */ |
146 | 146 | private function assertRaCommandMayBeExecutedOnBehalfOf(IdentityId $actorId, Institution $actorInstitution, Command $command) |