Skip to content
Snippets Groups Projects
Commit fe685373 authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Fix phpdoc comments for SimpleSAML_Metadata_SAMLBuilder (broken data types).

parent 3a3e24e9
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ class SimpleSAML_Metadata_SAMLBuilder
/**
* The EntityDescriptor we are building.
*
* @var string
* @var SAML2_XML_md_EntityDescriptor
*/
private $entityDescriptor;
......@@ -23,7 +23,7 @@ class SimpleSAML_Metadata_SAMLBuilder
/**
* The maximum time in seconds the metadata should be cached.
*
* @var int|null
* @var double|null
*/
private $maxCache = null;
......@@ -31,7 +31,7 @@ class SimpleSAML_Metadata_SAMLBuilder
/**
* The maximum time in seconds since the current time that this metadata should be considered valid.
*
* @var int|null
* @var double|null
*/
private $maxDuration = null;
......@@ -40,8 +40,8 @@ class SimpleSAML_Metadata_SAMLBuilder
* Initialize the SAML builder.
*
* @param string $entityId The entity id of the entity.
* @param int|null $maxCache The maximum time in seconds the metadata should be cached. Defaults to null
* @param int|null $maxDuration The maximum time in seconds this metadata should be considered valid. Defaults
* @param double|null $maxCache The maximum time in seconds the metadata should be cached. Defaults to null
* @param double|null $maxDuration The maximum time in seconds this metadata should be considered valid. Defaults
* to null.
*/
public function __construct($entityId, $maxCache = null, $maxDuration = null)
......@@ -322,7 +322,7 @@ class SimpleSAML_Metadata_SAMLBuilder
* @param array $endpoints The endpoints.
* @param bool $indexed Whether the endpoints should be indexed.
*
* @return SAML2_XML_md_IndexedEndpointType[]|SAML2_XML_md_EndpointType[] An array of endpoint objects.
* @return array An array of endpoint objects, either SAML2_XML_md_EndpointType or SAML2_XML_md_IndexedEndpointType.
*/
private static function createEndpoints(array $endpoints, $indexed)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment