Skip to content

Commit 9eb5ab6

Browse files
committed
Those functions also can return null
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
1 parent c61d3c1 commit 9eb5ab6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/Saml2/Response.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ public function getNameIdData()
623623
/**
624624
* Gets the NameID provided by the SAML response from the IdP.
625625
*
626-
* @return string Name ID Value
626+
* @return string|null Name ID Value
627627
*/
628628
public function getNameId()
629629
{
@@ -638,7 +638,7 @@ public function getNameId()
638638
/**
639639
* Gets the NameID Format provided by the SAML response from the IdP.
640640
*
641-
* @return string Name ID Format
641+
* @return string|null Name ID Format
642642
*/
643643
public function getNameIdFormat()
644644
{
@@ -653,7 +653,7 @@ public function getNameIdFormat()
653653
/**
654654
* Gets the NameID NameQualifier provided by the SAML response from the IdP.
655655
*
656-
* @return string Name ID NameQualifier
656+
* @return string|null Name ID NameQualifier
657657
*/
658658
public function getNameIdNameQualifier()
659659
{

0 commit comments

Comments
 (0)