Skip to content

Commit b80c37f

Browse files
lezhnev74cebe
andauthored
Update src/spec/Parameter.php
Co-Authored-By: Carsten Brandt <[email protected]>
1 parent 8d109ee commit b80c37f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spec/Parameter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ protected function performValidation()
117117
if (!empty($this->content) && !empty($this->schema)) {
118118
$this->addError('A Parameter Object MUST contain either a schema property, or a content property, but not both.');
119119
}
120-
if (! empty($this->content) && count($this->content) !== 1) {
120+
if (!empty($this->content) && count($this->content) !== 1) {
121121
$this->addError('A Parameter Object with Content property MUST have A SINGLE content type.');
122122
}
123123

0 commit comments

Comments
 (0)