Skip to content

Commit b23d66a

Browse files
committed
chore(example): Added int type for ResponseConfig statusCode in case there is no tag
1 parent 7ddc6cd commit b23d66a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Preparator/Config/ResponseConfig.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function getStatusCode(): ?string
2222
return $this->statusCode;
2323
}
2424

25-
public function setStatusCode(string|TaggedValue|null $statusCode): void
25+
public function setStatusCode(string|TaggedValue|int|null $statusCode): void
2626
{
2727
if ($statusCode instanceof TaggedValue) {
2828
if ($statusCode->getTag() === 'NOT') {

0 commit comments

Comments
 (0)