Skip to content

Commit 4d73490

Browse files
committed
Remove null as possible type in PHPDoc since it causes an InvalidArgumentException
1 parent 3d15954 commit 4d73490

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Tasks/PageIterator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class PageIterator
3535
private ?array $requestOptions = [];
3636

3737
/**
38-
* @param Parsable|array<mixed>|object|null $response paged collection response
38+
* @param Parsable|array<mixed>|object $response paged collection response
3939
* @param RequestAdapter $requestAdapter
4040
* @param array{class-string<T>,string}|null $constructorCallable
4141
* The method to construct a paged response object.
@@ -124,7 +124,7 @@ public function next(): ?PageResult
124124
}
125125

126126
/**
127-
* @param object|array<mixed>|null $response
127+
* @param object|array<mixed> $response
128128
* @return PageResult|null
129129
* @throws JsonException
130130
*/

0 commit comments

Comments
 (0)