Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit 3d3113d

Browse files
committed
Apply rector changes
1 parent 97084ab commit 3d3113d

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

tests/Platform/Bridge/Albert/PlatformFactoryTest.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,12 @@ public function handlesUrlsCorrectly(string $url): void
3434
self::assertInstanceOf(Platform::class, $platform);
3535
}
3636

37-
public static function urlProvider(): array
37+
public static function urlProvider(): \Iterator
3838
{
39-
return [
40-
'with trailing slash' => ['https://albert.example.com/'],
41-
'without trailing slash' => ['https://albert.example.com'],
42-
'with v1 path' => ['https://albert.example.com/v1'],
43-
'with v1 path and trailing slash' => ['https://albert.example.com/v1/'],
44-
];
39+
yield 'with trailing slash' => ['https://albert.example.com/'];
40+
yield 'without trailing slash' => ['https://albert.example.com'];
41+
yield 'with v1 path' => ['https://albert.example.com/v1'];
42+
yield 'with v1 path and trailing slash' => ['https://albert.example.com/v1/'];
4543
}
4644

4745
#[Test]

0 commit comments

Comments
 (0)