@@ -163,7 +163,7 @@ |
||
| 163 | 163 | |
| 164 | 164 | /** |
| 165 | 165 | * @param string[] $institutions |
| 166 | - * @param $configuredInstitutions |
|
| 166 | + * @param string[] $configuredInstitutions |
|
| 167 | 167 | * @return string[] |
| 168 | 168 | */ |
| 169 | 169 | public function determineNonExistentInstitutions(array $institutions, $configuredInstitutions) |
@@ -64,6 +64,7 @@ discard block |
||
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | 66 | * Construct a new aggregate root. Aggregate roots can only be affected by events, so no parameters are allowed. |
| 67 | + * @return void |
|
| 67 | 68 | */ |
| 68 | 69 | public function __construct(); |
| 69 | 70 | |
@@ -288,6 +289,7 @@ discard block |
||
| 288 | 289 | |
| 289 | 290 | /** |
| 290 | 291 | * @param int $numberOfTokens |
| 292 | + * @return void |
|
| 291 | 293 | */ |
| 292 | 294 | public function setMaxNumberOfTokens($numberOfTokens); |
| 293 | 295 | } |
@@ -40,14 +40,14 @@ discard block |
||
| 40 | 40 | private $registrationCode; |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | - * @param $email |
|
| 44 | - * @param $tokenId |
|
| 45 | - * @param $tokenType |
|
| 46 | - * @param $commonName |
|
| 47 | - * @param $requestedAt |
|
| 48 | - * @param $preferredLocale |
|
| 49 | - * @param $institution |
|
| 50 | - * @param $registrationCode |
|
| 43 | + * @param string $email |
|
| 44 | + * @param string $tokenId |
|
| 45 | + * @param string $tokenType |
|
| 46 | + * @param string $commonName |
|
| 47 | + * @param \DateTime $requestedAt |
|
| 48 | + * @param string $preferredLocale |
|
| 49 | + * @param \Surfnet\Stepup\Identity\Value\Institution $institution |
|
| 50 | + * @param string $registrationCode |
|
| 51 | 51 | */ |
| 52 | 52 | public function __construct( |
| 53 | 53 | $email, |
@@ -115,6 +115,9 @@ discard block |
||
| 115 | 115 | return $this->preferredLocale; |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | + /** |
|
| 119 | + * @return \Surfnet\Stepup\Identity\Value\Institution |
|
| 120 | + */ |
|
| 118 | 121 | public function getInstitution() |
| 119 | 122 | { |
| 120 | 123 | return $this->institution; |