diff --git a/lib/SimpleSAML/Error/UnserializableException.php b/lib/SimpleSAML/Error/UnserializableException.php index ea0bef5987f9435cdf85889f27cf4ca9b56e9fc9..4f3f274ddc9da5560c09a7b1b112a331849acae6 100644 --- a/lib/SimpleSAML/Error/UnserializableException.php +++ b/lib/SimpleSAML/Error/UnserializableException.php @@ -41,7 +41,6 @@ class UnserializableException extends Exception $this->class = get_class($original); $msg = $original->getMessage(); - /** @var string|int $code */ $code = $original->getCode(); if (!is_int($code)) { diff --git a/lib/SimpleSAML/Utils/Crypto.php b/lib/SimpleSAML/Utils/Crypto.php index 10f6dc97ffb79dbc0ec141f1c453850421344a44..bf5880a1922709cf2d45e73054712a6598324b35 100644 --- a/lib/SimpleSAML/Utils/Crypto.php +++ b/lib/SimpleSAML/Utils/Crypto.php @@ -35,7 +35,6 @@ class Crypto throw new Error\Exception("The openssl PHP module is not loaded."); } - /** @var int $len */ $len = mb_strlen($ciphertext, '8bit'); if ($len < 48) { throw new InvalidArgumentException( diff --git a/tests/modules/saml/lib/Auth/Source/SPTest.php b/tests/modules/saml/lib/Auth/Source/SPTest.php index 0e9c28a5f6883728186daee197668c430edcefb1..74393b9bf489712baaae2b1a46386699be4708fd 100644 --- a/tests/modules/saml/lib/Auth/Source/SPTest.php +++ b/tests/modules/saml/lib/Auth/Source/SPTest.php @@ -1346,7 +1346,6 @@ class SPTest extends ClearStateTestCase $xml = $lr->toSignedXML(); - /** @var \DOMNode[] $q */ $q = Utils::xpQuery($xml, '/samlp:LogoutRequest/saml:NameID'); $this->assertCount(1, $q); $this->assertEquals('someone@example.com', $q[0]->nodeValue);