Skip to content

Commit f13a3cd

Browse files
committed
Fix code style
1 parent 519db33 commit f13a3cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/spec/Parameter.php

Lines changed: 2 additions & 2 deletions
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 MUST with Content property must have A SINGLE content type.');
122122
}
123123

@@ -127,7 +127,7 @@ protected function performValidation()
127127
'header' => ['simple'],
128128
'cookie' => ['form'],
129129
];
130-
if(!in_array($this->style, $supportedSerializationStyles[$this->in])) {
130+
if (! in_array($this->style, $supportedSerializationStyles[$this->in])) {
131131
$this->addError('A Parameter Object DOES NOT support this serialization style.');
132132
}
133133
}

0 commit comments

Comments
 (0)