@@ -58,26 +58,26 @@ public static function setUpBeforeClass(): void
5858 */
5959 public function testMarshalling (): void
6060 {
61- /** @var \DOMElement $firstNameElt */
61+ /** @var \Dom\Element $firstNameElt */
6262 $ firstNameElt = DOMDocumentFactory::fromString (
6363 '<cas:firstname xmlns:cas="http://www.yale.edu/tp/cas">Example</cas:firstname> ' ,
6464 )->documentElement ;
6565
6666 $ firstName = new Chunk ($ firstNameElt );
6767
68- /** @var \DOMElement $lastNameElt */
68+ /** @var \Dom\Element $lastNameElt */
6969 $ lastNameElt = DOMDocumentFactory::fromString (
7070 '<cas:lastname xmlns:cas="http://www.yale.edu/tp/cas">User</cas:lastname> ' ,
7171 )->documentElement ;
7272 $ lastName = new Chunk ($ lastNameElt );
7373
74- /** @var \DOMElement $emailElt */
74+ /** @var \Dom\Element $emailElt */
7575 $ emailElt = DOMDocumentFactory::fromString (
7676 '<cas:email xmlns:cas="http://www.yale.edu/tp/cas">example-user@technolutions.com</cas:email> ' ,
7777 )->documentElement ;
7878 $ email = new Chunk ($ emailElt );
7979
80- /** @var \DOMElement $customAttrElt */
80+ /** @var \Dom\Element $customAttrElt */
8181 $ customAttrElt = DOMDocumentFactory::fromString (
8282 '<slate:custom xmlns:slate="http://technolutions.com/slate">customAttribute</slate:custom> ' ,
8383 )->documentElement ;
@@ -100,22 +100,22 @@ public function testMarshalling(): void
100100 new Proxy (StringValue::fromString ('https://proxy1/pgtUrl ' )),
101101 ]);
102102
103- /** @var \DOMElement $personElt */
103+ /** @var \Dom\Element $personElt */
104104 $ personElt = DOMDocumentFactory::fromString (
105105 // phpcs:ignore Generic.Files.LineLength
106106 '<slate:person xmlns:slate="http://technolutions.com/slate">345d2e1b-65de-419c-96ce-e1866d4c57cd</slate:person> ' ,
107107 )->documentElement ;
108108
109109 $ person = new Chunk ($ personElt );
110110
111- /** @var \DOMElement $roundElt */
111+ /** @var \Dom\Element $roundElt */
112112 $ roundElt = DOMDocumentFactory::fromString (
113113 '<slate:round xmlns:slate="http://technolutions.com/slate">Regular Decision</slate:round> ' ,
114114 )->documentElement ;
115115
116116 $ round = new Chunk ($ roundElt );
117117
118- /** @var \DOMElement $refElt */
118+ /** @var \Dom\Element $refElt */
119119 $ refElt = DOMDocumentFactory::fromString (
120120 '<slate:ref xmlns:slate="http://technolutions.com/slate">774482874</slate:ref> ' ,
121121 )->documentElement ;
@@ -139,20 +139,20 @@ public function testMarshalling(): void
139139
140140 public function testMarshallingElementOrdering (): void
141141 {
142- /** @var \DOMElement $firstNameElt */
142+ /** @var \Dom\Element $firstNameElt */
143143 $ firstNameElt = DOMDocumentFactory::fromString (
144144 '<cas:firstname xmlns:cas="http://www.yale.edu/tp/cas">John</cas:firstname> ' ,
145145 )->documentElement ;
146146
147147 $ firstName = new Chunk ($ firstNameElt );
148148
149- /** @var \DOMElement $lastNameElt */
149+ /** @var \Dom\Element $lastNameElt */
150150 $ lastNameElt = DOMDocumentFactory::fromString (
151151 '<cas:lastname xmlns:cas="http://www.yale.edu/tp/cas">Doe</cas:lastname> ' ,
152152 )->documentElement ;
153153 $ lastName = new Chunk ($ lastNameElt );
154154
155- /** @var \DOMElement $emailElt */
155+ /** @var \Dom\Element $emailElt */
156156 $ emailElt = DOMDocumentFactory::fromString (
157157 '<cas:email xmlns:cas="http://www.yale.edu/tp/cas">jdoe@example.org</cas:email> ' ,
158158 )->documentElement ;
@@ -170,22 +170,22 @@ public function testMarshallingElementOrdering(): void
170170 Proxy::fromString ('https://proxy1/pgtUrl ' ),
171171 ]);
172172
173- /** @var \DOMElement $personElt */
173+ /** @var \Dom\Element $personElt */
174174 $ personElt = DOMDocumentFactory::fromString (
175175 // phpcs:ignore Generic.Files.LineLength
176176 '<slate:person xmlns:slate="http://technolutions.com/slate">345d2e1b-65de-419c-96ce-e1866d4c57cd</slate:person> ' ,
177177 )->documentElement ;
178178
179179 $ person = new Chunk ($ personElt );
180180
181- /** @var \DOMElement $roundElt */
181+ /** @var \Dom\Element $roundElt */
182182 $ roundElt = DOMDocumentFactory::fromString (
183183 '<slate:round xmlns:slate="http://technolutions.com/slate">Regular Decision</slate:round> ' ,
184184 )->documentElement ;
185185
186186 $ round = new Chunk ($ roundElt );
187187
188- /** @var \DOMElement $refElt */
188+ /** @var \Dom\Element $refElt */
189189 $ refElt = DOMDocumentFactory::fromString (
190190 '<slate:ref xmlns:slate="http://technolutions.com/slate">774482874</slate:ref> ' ,
191191 )->documentElement ;
@@ -207,7 +207,7 @@ public function testMarshallingElementOrdering(): void
207207 $ this ->assertCount (1 , $ authenticationSuccessElements );
208208
209209 // Test ordering of cas:authenticationSuccess contents
210- /** @var \DOMElement [] $authenticationSuccessElements */
210+ /** @var \Dom\Element [] $authenticationSuccessElements */
211211 $ authenticationSuccessElements = XPath::xpQuery (
212212 $ authenticationSuccessElement ,
213213 './cas:user/following-sibling::* ' ,
@@ -236,7 +236,7 @@ public function testAuthenticationSuccessElementsContainOnlySlateChildren(): voi
236236 dirname (__FILE__ , 3 ) . '/resources/xml/slate_authenticationSuccess.xml ' ,
237237 );
238238
239- /** @var \DOMElement $element */
239+ /** @var \Dom\Element $element */
240240 $ element = $ doc ->documentElement ;
241241
242242 $ authenticationSuccess = AuthenticationSuccess::fromXML ($ element );
@@ -276,7 +276,7 @@ public function testAuthenticationSuccessElementsContainOnlySlateChildren(): voi
276276 */
277277 public function testFromXMLNestedAttributesAreFilteredAndTyped (): void
278278 {
279- /** @var \DOMElement $element */
279+ /** @var \Dom\Element $element */
280280 $ element = self ::$ xmlRepresentation ->documentElement ;
281281
282282 $ authenticationSuccess = AuthenticationSuccess::fromXML ($ element );
0 commit comments