@@ -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,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 |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | * |
79 | 79 | * @param Request $request |
80 | 80 | * @param string $identityId |
81 | - * @return Response |
|
81 | + * @return JsonCollectionResponse |
|
82 | 82 | */ |
83 | 83 | public function findUnverifiedSecondFactorsAction(Request $request, $identityId) |
84 | 84 | { |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | * |
101 | 101 | * @param Request $request |
102 | 102 | * @param string $identityId |
103 | - * @return Response |
|
103 | + * @return JsonCollectionResponse |
|
104 | 104 | */ |
105 | 105 | public function findVerifiedSecondFactorsAction(Request $request, $identityId) |
106 | 106 | { |
@@ -70,6 +70,10 @@ |
||
70 | 70 | */ |
71 | 71 | public $contactInformation; |
72 | 72 | |
73 | + /** |
|
74 | + * @param string $institution |
|
75 | + * @param string $nameId |
|
76 | + */ |
|
73 | 77 | private function __construct($institution, $nameId) |
74 | 78 | { |
75 | 79 | $this->institution = $institution; |
@@ -33,6 +33,11 @@ |
||
33 | 33 | ); |
34 | 34 | } |
35 | 35 | |
36 | + /** |
|
37 | + * @param integer|null $totalItems |
|
38 | + * @param integer $page |
|
39 | + * @param integer $pageSize |
|
40 | + */ |
|
36 | 41 | public function __construct($totalItems, $page, $pageSize, array $collection, $headers = array()) |
37 | 42 | { |
38 | 43 | $data = array( |
@@ -77,7 +77,7 @@ |
||
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
80 | - * @return null|\Surfnet\Stepup\Configuration\Api\Configuration |
|
80 | + * @return \Broadway\Domain\AggregateRoot|null |
|
81 | 81 | */ |
82 | 82 | private function getConfiguration() |
83 | 83 | { |
@@ -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( |
@@ -22,6 +22,9 @@ |
||
22 | 22 | |
23 | 23 | class ServiceProviderConfigurationValidator implements ConfigurationValidatorInterface |
24 | 24 | { |
25 | + /** |
|
26 | + * @param string $propertyPath |
|
27 | + */ |
|
25 | 28 | public function validate(array $configuration, $propertyPath) |
26 | 29 | { |
27 | 30 | Assert::isArray($configuration, 'invalid configuration format, must be an object', $propertyPath); |