You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownew \InvalidArgumentException(sprintf('The operation "%s" should have an Structure output.', $this->getName()));
106
+
thrownew \InvalidArgumentException(\sprintf('The operation "%s" should have an Structure output.', $this->getName()));
107
107
}
108
108
109
109
return$shape;
@@ -124,7 +124,7 @@ public function getErrors(): array
124
124
}
125
125
$shape = ($this->shapeLocator)($error['shape']);
126
126
if (!$shapeinstanceof ExceptionShape) {
127
-
thrownew \InvalidArgumentException(sprintf('The error "%s" of the operation "%s" should have an Exception shape.', $error['shape'], $this->getName()));
127
+
thrownew \InvalidArgumentException(\sprintf('The error "%s" of the operation "%s" should have an Exception shape.', $error['shape'], $this->getName()));
128
128
}
129
129
130
130
$errors[$error['shape']] = $shape;
@@ -138,7 +138,7 @@ public function getInput(): StructureShape
138
138
$shape = $this->getInputShape();
139
139
140
140
if (!$shapeinstanceof StructureShape) {
141
-
thrownew \InvalidArgumentException(sprintf('The operation "%s" should have an Structure Input.', $this->getName()));
141
+
thrownew \InvalidArgumentException(\sprintf('The operation "%s" should have an Structure Input.', $this->getName()));
142
142
}
143
143
144
144
return$shape;
@@ -172,7 +172,7 @@ public function getHttpRequestUri(): ?string
172
172
publicfunctiongetHttpMethod(): string
173
173
{
174
174
if (isset($this->data['input']['method'])) {
175
-
thrownew \InvalidArgumentException(sprintf('The operation "%s" should have an HTTP Method.', $this->getName()));
175
+
thrownew \InvalidArgumentException(\sprintf('The operation "%s" should have an HTTP Method.', $this->getName()));
176
176
}
177
177
178
178
return$this->data['http']['method'];
@@ -215,7 +215,7 @@ private function getInputShape(): Shape
0 commit comments