@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | /** |
| 82 | - * @return mixed|null |
|
| 82 | + * @return string |
|
| 83 | 83 | */ |
| 84 | 84 | public function getAuthMethod() |
| 85 | 85 | { |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |
| 90 | - * @return mixed|null |
|
| 90 | + * @return string |
|
| 91 | 91 | */ |
| 92 | 92 | public function getContext() |
| 93 | 93 | { |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | |
| 111 | 111 | /** |
| 112 | 112 | * @param string $key |
| 113 | - * @param mixed $value Any scalar |
|
| 113 | + * @param string $value Any scalar |
|
| 114 | 114 | */ |
| 115 | 115 | protected function set($key, $value) |
| 116 | 116 | { |
@@ -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); |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | * it matches one of the configured allowed ACS locations for the service |
| 83 | 83 | * provider. This methods checks if a given URL matches the allowed URLs. |
| 84 | 84 | * |
| 85 | - * @param $acsLocationInAuthnRequest |
|
| 85 | + * @param string|null $acsLocationInAuthnRequest |
|
| 86 | 86 | * @param LoggerInterface $logger Optional |
| 87 | 87 | * @return string |
| 88 | 88 | */ |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | * https://example.com/consume |
| 128 | 128 | * |
| 129 | 129 | * |
| 130 | - * @param $acsLocationInAuthnRequest |
|
| 130 | + * @param string|null $acsLocationInAuthnRequest |
|
| 131 | 131 | * @return string |
| 132 | 132 | */ |
| 133 | 133 | public function determineAcsLocationForAdfs($acsLocationInAuthnRequest) |