| Total Complexity | 1 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class NoPassiveException extends AbstractProtocolException |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * NoPassiveException constructor. |
||
| 19 | * |
||
| 20 | * @param string $responsible A string telling who is responsible for this error. Can be one of the following: |
||
| 21 | * - \SimpleSAML\SAML2\Constants::STATUS_RESPONDER: in case the error is caused by this SAML responder. |
||
| 22 | * - \SimpleSAML\SAML2\Constants::STATUS_REQUESTER: in case the error is caused by the SAML requester. |
||
| 23 | * @param string|null $message A short message explaining why this error happened. |
||
| 24 | */ |
||
| 25 | public function __construct(string $responsible, string $message = null) |
||
| 30 |