@@ -24,6 +24,7 @@ |
||
24 | 24 | { |
25 | 25 | /** |
26 | 26 | * @param VettingProcedure $vettingProcedure |
27 | + * @return void |
|
27 | 28 | */ |
28 | 29 | public function store(VettingProcedure $vettingProcedure); |
29 | 30 |
@@ -44,7 +44,7 @@ |
||
44 | 44 | /** |
45 | 45 | * Returns the user credentials. |
46 | 46 | * |
47 | - * @return mixed The user credentials |
|
47 | + * @return string The user credentials |
|
48 | 48 | */ |
49 | 49 | public function getCredentials() |
50 | 50 | { |
@@ -50,6 +50,9 @@ discard block |
||
50 | 50 | } |
51 | 51 | } |
52 | 52 | |
53 | + /** |
|
54 | + * @param string $provider |
|
55 | + */ |
|
53 | 56 | private function loadProviderConfiguration( |
54 | 57 | $provider, |
55 | 58 | array $configuration, |
@@ -198,6 +201,9 @@ discard block |
||
198 | 201 | $container->setDefinition('gssp.provider.' . $provider . '.metadata.factory', $metadataFactory); |
199 | 202 | } |
200 | 203 | |
204 | + /** |
|
205 | + * @param string $provider |
|
206 | + */ |
|
201 | 207 | private function createRouteConfig($provider, $routeName) |
202 | 208 | { |
203 | 209 | // In the future, we ought to wrap this in an object. |
@@ -394,7 +394,7 @@ |
||
394 | 394 | } |
395 | 395 | |
396 | 396 | /** |
397 | - * @param $procedureId |
|
397 | + * @param string $procedureId |
|
398 | 398 | * @return string |
399 | 399 | * @throws UnknownVettingProcedureException |
400 | 400 | */ |
@@ -65,6 +65,7 @@ discard block |
||
65 | 65 | |
66 | 66 | /** |
67 | 67 | * @param string $uri |
68 | + * @return void |
|
68 | 69 | */ |
69 | 70 | public function setCurrentRequestUri($uri); |
70 | 71 | |
@@ -76,6 +77,7 @@ discard block |
||
76 | 77 | /** |
77 | 78 | * Migrates the current session to a new session id while maintaining all |
78 | 79 | * session attributes. |
80 | + * @return void |
|
79 | 81 | */ |
80 | 82 | public function migrate(); |
81 | 83 | |
@@ -84,6 +86,7 @@ discard block |
||
84 | 86 | * |
85 | 87 | * Clears all session attributes and flashes and regenerates the |
86 | 88 | * session and deletes the old session from persistence |
89 | + * @return void |
|
87 | 90 | */ |
88 | 91 | public function invalidate(); |
89 | 92 | } |
@@ -125,6 +125,9 @@ |
||
125 | 125 | return $authenticatedToken; |
126 | 126 | } |
127 | 127 | |
128 | + /** |
|
129 | + * @param string $attribute |
|
130 | + */ |
|
128 | 131 | private function getSingleStringValue($attribute, AssertionAdapter $translatedAssertion) |
129 | 132 | { |
130 | 133 | $values = $translatedAssertion->getAttributeValue($attribute); |
@@ -27,6 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param string $requestId |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setRequestId($requestId); |
32 | 33 | |
@@ -37,6 +38,7 @@ discard block |
||
37 | 38 | |
38 | 39 | /** |
39 | 40 | * Removes the requestId from the session |
41 | + * @return void |
|
40 | 42 | */ |
41 | 43 | public function clearRequestId(); |
42 | 44 | } |
@@ -27,6 +27,11 @@ |
||
27 | 27 | private $constraints; |
28 | 28 | |
29 | 29 | // @codingStandardsIgnoreStart Compliance with beberlei/assert's invalid argument exception |
30 | + |
|
31 | + /** |
|
32 | + * @param string $message |
|
33 | + * @param integer $code |
|
34 | + */ |
|
30 | 35 | public function __construct($message, $code, $propertyPath = null, $value, array $constraints = array()) |
31 | 36 | { |
32 | 37 | parent::__construct($message, $code); |