We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b80c37f commit 86aacacCopy full SHA for 86aacac
src/spec/Parameter.php
@@ -127,7 +127,7 @@ protected function performValidation()
127
'header' => ['simple'],
128
'cookie' => ['form'],
129
];
130
- if (! in_array($this->style, $supportedSerializationStyles[$this->in])) {
+ if (isset($supportedSerializationStyles[$this->in]) && !in_array($this->style, $supportedSerializationStyles[$this->in])) {
131
$this->addError('A Parameter Object DOES NOT support this serialization style.');
132
}
133
0 commit comments