@@ -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 |
@@ -53,7 +53,7 @@ |
||
53 | 53 | |
54 | 54 | /** |
55 | 55 | * @param array $data |
56 | - * @return IdentityRenamedEvent The object instance |
|
56 | + * @return LocalePreferenceExpressedEvent The object instance |
|
57 | 57 | */ |
58 | 58 | public static function deserialize(array $data) |
59 | 59 | { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | { |
32 | 32 | /** |
33 | 33 | * @param IdentityId $identityId The RA's identity id. |
34 | - * @return null|RaListing |
|
34 | + * @return RaListing |
|
35 | 35 | */ |
36 | 36 | public function findByIdentityId(IdentityId $identityId) |
37 | 37 | { |
@@ -24,5 +24,8 @@ |
||
24 | 24 | */ |
25 | 25 | interface Command |
26 | 26 | { |
27 | + /** |
|
28 | + * @return string |
|
29 | + */ |
|
27 | 30 | public function __toString(); |
28 | 31 | } |
@@ -52,7 +52,7 @@ |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
55 | - * @return null|\Surfnet\Stepup\Configuration\Api\Configuration |
|
55 | + * @return \Broadway\EventSourcing\EventSourcedAggregateRoot|null |
|
56 | 56 | */ |
57 | 57 | private function getConfiguration() |
58 | 58 | { |
@@ -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, |
@@ -36,7 +36,7 @@ |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @param SecondFactorId $secondFactorId |
39 | - * @return SecondFactor|null |
|
39 | + * @return SecondFactor |
|
40 | 40 | */ |
41 | 41 | public function findOneBySecondFactorId(SecondFactorId $secondFactorId) |
42 | 42 | { |
@@ -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 | Assert::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 | Assert::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 | Assert::isArray( |
@@ -64,6 +64,9 @@ discard block |
||
64 | 64 | ); |
65 | 65 | } |
66 | 66 | |
67 | + /** |
|
68 | + * @param string $propertyPath |
|
69 | + */ |
|
67 | 70 | private function validateIdentityProviders($identityProviders, $propertyPath) |
68 | 71 | { |
69 | 72 | Assert::isArray( |
@@ -80,6 +83,9 @@ discard block |
||
80 | 83 | } |
81 | 84 | } |
82 | 85 | |
86 | + /** |
|
87 | + * @param string $propertyPath |
|
88 | + */ |
|
83 | 89 | private function validateServiceProviders($serviceProviders, $propertyPath) |
84 | 90 | { |
85 | 91 | Assert::isArray( |