@@ -66,10 +66,10 @@ public function testMarshalling(): void
6666 $ claimType = new ClaimType (
6767 AnyURIValue::fromString (C::NAMESPACE ),
6868 BooleanValue::fromBoolean (true ),
69- new DisplayName (StringValue ::fromString ('someDisplayName ' ) ),
70- new Description (StringValue ::fromString ('someDescription ' ) ),
71- new DisplayValue (StringValue ::fromString ('someDisplayValue ' ) ),
72- new Value (StringValue ::fromString ('someValue ' ) ),
69+ DisplayName::fromString ('someDisplayName ' ),
70+ Description::fromString ('someDescription ' ),
71+ DisplayValue::fromString ('someDisplayValue ' ),
72+ Value::fromString ('someValue ' ),
7373 [$ attr ],
7474 );
7575
@@ -88,10 +88,10 @@ public function testMarshallingElementOrdering(): void
8888 $ claimType = new ClaimType (
8989 AnyURIValue::fromString (C::NAMESPACE ),
9090 BooleanValue::fromBoolean (true ),
91- new DisplayName (StringValue ::fromString ('someDisplayName ' ) ),
92- new Description (StringValue ::fromString ('someDescription ' ) ),
93- new DisplayValue (StringValue ::fromString ('someDisplayValue ' ) ),
94- new Value (StringValue ::fromString ('someValue ' ) ),
91+ DisplayName::fromString ('someDisplayName ' ),
92+ Description::fromString ('someDescription ' ),
93+ DisplayValue::fromString ('someDisplayValue ' ),
94+ Value::fromString ('someValue ' ),
9595 [$ attr ],
9696 );
9797 $ claimTypeElement = $ claimType ->toXML ();
0 commit comments