Skip to content

Commit b99c733

Browse files
committed
$spValidationOnly is a boolean and not an array
Signed-off-by: Lukas Reschke <[email protected]>
1 parent d2f73cb commit b99c733

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Saml2/Settings.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class OneLogin_Saml2_Settings
8888
/**
8989
* Setting errors.
9090
*
91-
* @var array
91+
* @var bool
9292
*/
9393
private $_spValidationOnly = false;
9494

@@ -98,6 +98,7 @@ class OneLogin_Saml2_Settings
9898
* - Loads settings info from settings file or array/object provided
9999
*
100100
* @param array|object|null $settings SAML Toolkit Settings
101+
* @param bool $spValidationOnly
101102
*
102103
* @throws OneLogin_Saml2_Error If any settings parameter is invalid
103104
* @throws Exception If OneLogin_Saml2_Settings is incorrectly supplied

0 commit comments

Comments
 (0)