Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jan 29, 2025
1 parent b55aca5 commit 96d37b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/SAML11/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ class Constants extends \SimpleSAML\XMLSecurity\Constants
*/
public const CM_BEARER = 'urn:oasis:names:tc:SAML:1.0:cm:bearer';

/**
* The format to express a timestamp in SAML 1.1
*/
public const DATETIME_FORMAT = 'Y-m-d\\TH:i:sp';

/**
* Email address NameID format.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/SAML11/Type/DateTimeValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class DateTimeValue extends BaseDateTimeValue
{
// Lowercase p as opposed to the base-class to covert the timestamp to UTC as demanded by the SAML specifications
public const string DATETIME_FORMAT = 'Y-m-d\\TH:i:sp';
public const DATETIME_FORMAT = 'Y-m-d\\TH:i:sp';


/**
Expand Down

0 comments on commit 96d37b1

Please sign in to comment.