Skip to content

Commit 1209f8c

Browse files
committed
Fix codesniffer issue
1 parent b0cf529 commit 1209f8c

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

tests/Federation/XML/auth/ConstrainedManyValueTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ final class ConstrainedManyValueTest extends TestCase
3939
#[DataProvider('classProvider')]
4040
public function testMarshallingEmpty(string $class): void
4141
{
42+
/** @var \SimpleSAML\XML\SerializableElementInterface $x */
4243
$x = new $class([], []);
4344
$this->assertTrue($x->isEmptyElement());
4445
}
@@ -70,6 +71,7 @@ public function testMarshallingIllegalCombination(string $class): void
7071

7172

7273
/**
74+
* @return array<string, array<string>>
7375
*/
7476
public static function classProvider(): array
7577
{

tests/Federation/XML/auth/ConstrainedSingleValueTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ final class ConstrainedSingleValueTest extends TestCase
4848
#[DataProvider('classProvider')]
4949
public function testMarshallingEmpty(string $class): void
5050
{
51+
/** @var \SimpleSAML\XML\SerializableElementInterface $x */
5152
$x = new $class(null, null);
5253
$this->assertTrue($x->isEmptyElement());
5354
}
@@ -79,6 +80,7 @@ public function testMarshallingIllegalCombination(string $class): void
7980

8081

8182
/**
83+
* @return array<string, list<string>>
8284
*/
8385
public static function classProvider(): array
8486
{

tests/Federation/XML/auth/ConstrainedValueTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ public function testUnmarshalling(string $class, string $xmlRepresentation): voi
127127

128128

129129
/**
130+
* @return array<string, list<string>>
130131
*/
131132
public static function classProvider(): array
132133
{

0 commit comments

Comments
 (0)