Skip to content

Commit

Permalink
Update FeedGeneratorTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kawax committed Nov 22, 2024
1 parent 53e646d commit 4706030
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Feature/FeedGenerator/FeedGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class FeedGeneratorTest extends TestCase
{
public function test_feed_register(): void
{
FeedGenerator::register('test', function (int $limit, string $cursor): array {
FeedGenerator::register('test', function (?int $limit, ?string $cursor): array {
return [];
});

Expand All @@ -18,7 +18,7 @@ public function test_feed_register(): void

public function test_feed_http(): void
{
FeedGenerator::register('test', function (int $limit, string $cursor): array {
FeedGenerator::register('test', function (?int $limit, ?string $cursor): array {
return ['feed' => [['post' => 'at://']]];
});

Expand All @@ -30,7 +30,7 @@ public function test_feed_http(): void

public function test_feed_http_missing(): void
{
FeedGenerator::register('test', function (int $limit, string $cursor): array {
FeedGenerator::register('test', function (?int $limit, ?string $cursor): array {
return ['feed' => [['post' => 'at://']]];
});

Expand Down

0 comments on commit 4706030

Please sign in to comment.