@@ -47,7 +47,7 @@ |
||
47 | 47 | |
48 | 48 | /** |
49 | 49 | * @param Institution $institution |
50 | - * @return RegistrationAuthority |
|
50 | + * @return boolean |
|
51 | 51 | */ |
52 | 52 | public function exists(Institution $institution) |
53 | 53 | { |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | /** |
49 | 49 | * @param IdentityId $identityId The RA's identity id. |
50 | - * @return null|RaListing |
|
50 | + * @return RaListing |
|
51 | 51 | */ |
52 | 52 | public function findByIdentityId(IdentityId $identityId) |
53 | 53 | { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | /** |
58 | 58 | * @param IdentityId $identityId The RA's identity id. |
59 | 59 | * @param Institution $raInstitution |
60 | - * @return null|RaListing |
|
60 | + * @return RaListing |
|
61 | 61 | */ |
62 | 62 | public function findByIdentityIdAndInstitution(IdentityId $identityId, Institution $raInstitution) |
63 | 63 | { |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | |
50 | 50 | /** |
51 | 51 | * @param Institution $institution |
52 | - * @return Institution |
|
52 | + * @return InstitutionRole |
|
53 | 53 | */ |
54 | 54 | public function get(Institution $institution) |
55 | 55 | { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | /** |
60 | 60 | * @param Institution $institution |
61 | - * @return Institution |
|
61 | + * @return boolean |
|
62 | 62 | */ |
63 | 63 | public function exists(Institution $institution) |
64 | 64 | { |
@@ -48,7 +48,6 @@ |
||
48 | 48 | * @param NameId $nameId |
49 | 49 | * @param Location $location |
50 | 50 | * @param ContactInformation $contactInformation |
51 | - * @param Institution $raInstitution |
|
52 | 51 | */ |
53 | 52 | public function __construct( |
54 | 53 | IdentityId $identityId, |
@@ -1001,7 +1001,7 @@ |
||
1001 | 1001 | /** |
1002 | 1002 | * This method is kept to be backwards compatible for changes before FGA |
1003 | 1003 | * |
1004 | - * @param AppointedAsRaaEvent $event |
|
1004 | + * @param IdentityAccreditedAsRaEvent $event |
|
1005 | 1005 | */ |
1006 | 1006 | protected function applyIdentityAccreditedAsRaEvent(IdentityAccreditedAsRaEvent $event) |
1007 | 1007 | { |