Skip to content

Commit 2e6911c

Browse files
authored
fix(openapi): sync typehints between properties and getter/canner for alllowReserved and allowEmptyValue (#7322)
1 parent e7502b6 commit 2e6911c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/OpenApi/Model/Parameter.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ public function getDeprecated(): bool
5353
return $this->deprecated;
5454
}
5555

56-
public function canAllowEmptyValue(): bool
56+
public function canAllowEmptyValue(): ?bool
5757
{
5858
return $this->allowEmptyValue;
5959
}
6060

61-
public function getAllowEmptyValue(): bool
61+
public function getAllowEmptyValue(): ?bool
6262
{
6363
return $this->allowEmptyValue;
6464
}
@@ -83,12 +83,12 @@ public function getExplode(): bool
8383
return $this->explode;
8484
}
8585

86-
public function canAllowReserved(): bool
86+
public function canAllowReserved(): ?bool
8787
{
8888
return $this->allowReserved;
8989
}
9090

91-
public function getAllowReserved(): bool
91+
public function getAllowReserved(): ?bool
9292
{
9393
return $this->allowReserved;
9494
}

0 commit comments

Comments
 (0)