Skip to content

Commit ee60ef7

Browse files
committed
Fix phpdoc
1 parent 1209dca commit ee60ef7

9 files changed

Lines changed: 15 additions & 15 deletions

tests/XML/ds/RSAKeyValueTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function testMarshallingElementOrder(): void
7575
$modulus = XPath::xpQuery($RSAKeyValueElement, './ds:Modulus', $xpCache);
7676
$this->assertCount(1, $modulus);
7777

78-
/** @var \DOMElement[] $RSAKeyValueElements */
78+
/** @var \Dom\Element[] $RSAKeyValueElements */
7979
$RSAKeyValueElements = XPath::xpQuery($RSAKeyValueElement, './ds:Modulus/following-sibling::*', $xpCache);
8080

8181
// Test ordering of RSAKeyValue contents

tests/XML/ds/SignatureMethodTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function testMarshallingElementOrder(): void
9696
$hmacOutputLength = XPath::xpQuery($signatureMethodElement, './ds:HMACOutputLength', $xpCache);
9797
$this->assertCount(1, $hmacOutputLength);
9898

99-
/** @var \DOMElement[] $signatureMethodElements */
99+
/** @var \Dom\Element[] $signatureMethodElements */
100100
$signatureMethodElements = XPath::xpQuery(
101101
$signatureMethodElement,
102102
'./ds:HMACOutputLength/following-sibling::*',

tests/XML/ds/SignatureTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function testMarshallingElementOrdering(): void
139139
$signedInfo = XPath::xpQuery($signatureElement, './ds:SignedInfo', $xpCache);
140140
$this->assertCount(1, $signedInfo);
141141

142-
/** @var \DOMElement[] $signatureElements */
142+
/** @var \Dom\Element[] $signatureElements */
143143
$signatureElements = XPath::xpQuery($signatureElement, './ds:SignedInfo/following-sibling::*', $xpCache);
144144

145145
// Test ordering of Signature contents

tests/XML/ds/X509IssuerSerialTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function testMarshallingElementOrdering(): void
9090
$issuerName = XPath::xpQuery($x509IssuerSerialElement, './ds:X509IssuerName', $xpCache);
9191
$this->assertCount(1, $issuerName);
9292

93-
/** @var \DOMElement[] $x509IssuerSerialElements */
93+
/** @var \Dom\Element[] $x509IssuerSerialElements */
9494
$x509IssuerSerialElements = XPath::xpQuery(
9595
$x509IssuerSerialElement,
9696
'./ds:X509IssuerName/following-sibling::*',

tests/XML/xenc/AgreementMethodTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,18 +207,18 @@ public function testMarshallingElementOrdering(): void
207207
[$digestMethod],
208208
);
209209

210-
// Marshall it to a \DOMElement
210+
// Marshall it to a \Dom\Element
211211
$agreementMethodElement = $agreementMethod->toXML();
212212

213213
$xpCache = XPath::getXPath($agreementMethodElement);
214214

215215
// Test for an KA-Nonce
216-
/** @var \DOMElement[] $kaNonceElements */
216+
/** @var \Dom\Element[] $kaNonceElements */
217217
$kaNonceElements = XPath::xpQuery($agreementMethodElement, './xenc:KA-Nonce', $xpCache);
218218
$this->assertCount(1, $kaNonceElements);
219219

220220
// Test ordering of AgreementMethod contents
221-
/** @var \DOMElement[] $agreementMethodElements */
221+
/** @var \Dom\Element[] $agreementMethodElements */
222222
$agreementMethodElements = XPath::xpQuery(
223223
$agreementMethodElement,
224224
'./xenc:KA-Nonce/following-sibling::*',

tests/XML/xenc/DHKeyValueTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,18 +79,18 @@ public function testMarshalling(): void
7979
*/
8080
public function testMarshallingElementOrder(): void
8181
{
82-
// Marshall it to a \DOMElement
82+
// Marshall it to a \Dom\Element
8383
$dhKeyValueElement = self::$dhKeyValue->toXML();
8484

8585
$xpCache = XPath::getXPath($dhKeyValueElement);
8686

8787
// Test for an P
88-
/** @var \DOMElement[] $pElements */
88+
/** @var \Dom\Element[] $pElements */
8989
$pElements = XPath::xpQuery($dhKeyValueElement, './xenc:P', $xpCache);
9090
$this->assertCount(1, $pElements);
9191

9292
// Test ordering of DHKeyValue contents
93-
/** @var \DOMElement[] $dhKeyValueElements */
93+
/** @var \Dom\Element[] $dhKeyValueElements */
9494
$dhKeyValueElements = XPath::xpQuery(
9595
$dhKeyValueElement,
9696
'./xenc:P/following-sibling::*',

tests/XML/xenc/EncryptedDataTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function testMarshallingElementOrdering(): void
143143
$this->assertCount(1, $encryptedDataElements);
144144

145145
// Test ordering of EncryptedData contents
146-
/** @var \DOMElement[] $encryptedDataElements */
146+
/** @var \Dom\Element[] $encryptedDataElements */
147147
$encryptedDataElements = XPath::xpQuery(
148148
$encryptedDataElement,
149149
'./xenc:EncryptionMethod/following-sibling::*',

tests/XML/xenc/EncryptedKeyTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function testMarshallingElementOrdering(): void
181181
]),
182182
);
183183

184-
// Marshall it to a \DOMElement
184+
// Marshall it to a \Dom\Element
185185
$encryptedKeyElement = $encryptedKey->toXML();
186186

187187
$xpCache = XPath::getXPath($encryptedKeyElement);
@@ -194,7 +194,7 @@ public function testMarshallingElementOrdering(): void
194194
$this->assertCount(1, $encryptedKeyElements);
195195

196196
// Test ordering of EncryptedKey contents
197-
/** @var \DOMElement[] $encryptedKeyElements */
197+
/** @var \Dom\Element[] $encryptedKeyElements */
198198
$encryptedKeyElements = XPath::xpQuery(
199199
$encryptedKeyElement,
200200
'./xenc:ReferenceList/following-sibling::*',

tests/XML/xenc11/DerivedKeyTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,12 @@ public function testMarshallingElementOrder(): void
150150
$xpCache = XPathUtils::getXPath($dkElement);
151151

152152
// Test for a KeyDerivationMethod
153-
/** @var \DOMElement[] $keyDerivationMethodElements */
153+
/** @var \Dom\Element[] $keyDerivationMethodElements */
154154
$keyDerivationMethodElements = XPathUtils::xpQuery($dkElement, './xenc11:KeyDerivationMethod', $xpCache);
155155
$this->assertCount(1, $keyDerivationMethodElements);
156156

157157
// Test ordering of DerivedKey contents
158-
/** @var \DOMElement[] $dkElements */
158+
/** @var \Dom\Element[] $dkElements */
159159
$dkElements = XPathUtils::xpQuery($dkElement, './xenc11:KeyDerivationMethod/following-sibling::*', $xpCache);
160160

161161
$this->assertCount(3, $dkElements);

0 commit comments

Comments
 (0)