Skip to content

Commit b2ec54b

Browse files
fix: cs
1 parent e14ad54 commit b2ec54b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/OpenApi/Model/Operation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function withResponses(array $responses): self
116116
public function withResponse(int|string $status, Response $response): self
117117
{
118118
$clone = clone $this;
119-
if (!is_array($clone->responses)) {
119+
if (!\is_array($clone->responses)) {
120120
$clone->responses = [];
121121
}
122122
$clone->responses[(string) $status] = $response;
@@ -159,7 +159,7 @@ public function withParameters(array $parameters): self
159159
public function withParameter(Parameter $parameter): self
160160
{
161161
$clone = clone $this;
162-
if (!is_array($clone->parameters)) {
162+
if (!\is_array($clone->parameters)) {
163163
$clone->parameters = [];
164164
}
165165
$clone->parameters[] = $parameter;

0 commit comments

Comments
 (0)