@@ -23,6 +23,7 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * @param mixed $value |
| 25 | 25 | * @throws \InvalidArgumentException |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function __construct($value); |
| 28 | 29 | |
@@ -24,6 +24,7 @@ |
||
| 24 | 24 | { |
| 25 | 25 | /** |
| 26 | 26 | * Instantiate a new Whitelist, should not be used. |
| 27 | + * @return void |
|
| 27 | 28 | */ |
| 28 | 29 | public function __construct(); |
| 29 | 30 | |
@@ -24,5 +24,8 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | interface Command |
| 26 | 26 | { |
| 27 | + /** |
|
| 28 | + * @return string |
|
| 29 | + */ |
|
| 27 | 30 | public function __toString(); |
| 28 | 31 | } |
@@ -91,6 +91,13 @@ |
||
| 91 | 91 | */ |
| 92 | 92 | private $secondFactorIdentifier; |
| 93 | 93 | |
| 94 | + /** |
|
| 95 | + * @param string $identityId |
|
| 96 | + * @param string $nameId |
|
| 97 | + * @param string $institution |
|
| 98 | + * @param string $displayLocale |
|
| 99 | + * @param string $secondFactorId |
|
| 100 | + */ |
|
| 94 | 101 | public function __construct( |
| 95 | 102 | $identityId, |
| 96 | 103 | $nameId, |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | /** |
| 187 | - * @return string |
|
| 187 | + * @return Location|null |
|
| 188 | 188 | */ |
| 189 | 189 | public function getLocation() |
| 190 | 190 | { |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | } |
| 193 | 193 | |
| 194 | 194 | /** |
| 195 | - * @return string |
|
| 195 | + * @return ContactInformation|null |
|
| 196 | 196 | */ |
| 197 | 197 | public function getContactInformation() |
| 198 | 198 | { |
@@ -94,6 +94,9 @@ discard block |
||
| 94 | 94 | $this->validateEmailTemplatesConfiguration($configuration, 'email_templates'); |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | + /** |
|
| 98 | + * @param string $propertyPath |
|
| 99 | + */ |
|
| 97 | 100 | private function validateGatewayConfiguration($configuration, $propertyPath) |
| 98 | 101 | { |
| 99 | 102 | Assertion::isArray($configuration['gateway'], 'Property "gateway" must have an object as value', $propertyPath); |
@@ -101,6 +104,9 @@ discard block |
||
| 101 | 104 | $this->gatewayConfigurationValidator->validate($configuration['gateway'], $propertyPath); |
| 102 | 105 | } |
| 103 | 106 | |
| 107 | + /** |
|
| 108 | + * @param string $propertyPath |
|
| 109 | + */ |
|
| 104 | 110 | private function validateSraaConfiguration($configuration, $propertyPath) |
| 105 | 111 | { |
| 106 | 112 | Assertion::isArray( |
@@ -118,6 +124,9 @@ discard block |
||
| 118 | 124 | } |
| 119 | 125 | } |
| 120 | 126 | |
| 127 | + /** |
|
| 128 | + * @param string $propertyPath |
|
| 129 | + */ |
|
| 121 | 130 | private function validateEmailTemplatesConfiguration($configuration, $propertyPath) |
| 122 | 131 | { |
| 123 | 132 | Assertion::isArray( |
@@ -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; |
@@ -79,7 +79,6 @@ |
||
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | 81 | * @param Institution $institution |
| 82 | - * @param InstitutionAuthorizationOption $institutionOption |
|
| 83 | 82 | * @throws \Doctrine\ORM\OptimisticLockException |
| 84 | 83 | */ |
| 85 | 84 | public function clearInstitutionOption(Institution $institution) |
@@ -23,5 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | interface InstitutionRoleSetInterface |
| 25 | 25 | { |
| 26 | + /** |
|
| 27 | + * @return InstitutionRole[] |
|
| 28 | + */ |
|
| 26 | 29 | public function getRoles(); |
| 27 | 30 | } |