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 8d109ee commit b80c37fCopy full SHA for b80c37f
src/spec/Parameter.php
@@ -117,7 +117,7 @@ protected function performValidation()
117
if (!empty($this->content) && !empty($this->schema)) {
118
$this->addError('A Parameter Object MUST contain either a schema property, or a content property, but not both.');
119
}
120
- if (! empty($this->content) && count($this->content) !== 1) {
+ if (!empty($this->content) && count($this->content) !== 1) {
121
$this->addError('A Parameter Object with Content property MUST have A SINGLE content type.');
122
123
0 commit comments