Skip to content

Commit dfa74d4

Browse files
committed
_errorReason can also be of value null if no error happened
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
1 parent e72dca4 commit dfa74d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Saml2/Auth.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class OneLogin_Saml2_Auth
9898
/**
9999
* Reason of the last error.
100100
*
101-
* @var string
101+
* @var string|null
102102
*/
103103
private $_errorReason;
104104

@@ -387,7 +387,7 @@ public function getErrors()
387387
/**
388388
* Returns the reason for the last error
389389
*
390-
* @return string Error reason
390+
* @return string|null Error reason
391391
*/
392392
public function getLastErrorReason()
393393
{

0 commit comments

Comments
 (0)