diff --git a/modules/saml/docs/sp.md b/modules/saml/docs/sp.md
index 902fa8e9709a923a99fb3c81d848050f467ddc9f..05102fe57502b0e5309223056564f2add639dc7d 100644
--- a/modules/saml/docs/sp.md
+++ b/modules/saml/docs/sp.md
@@ -55,7 +55,7 @@ All these parameters override the equivalent option from the configuration.
 `saml:NameID`
 :   Add a Subject element with a NameID to the SAML AuthnRequest for the IdP.
     This is an associative array with the fields for the NameID.
-    Example: `array('Value' => 'user@example.org', 'Format' => SAML2_Const::NAMEID_UNSPECIFIED)`
+    Example: `array('Value' => 'user@example.org', 'Format' => SAML2\Constants::NAMEID_UNSPECIFIED)`
 
 :   *Note*: SAML 2 specific.