File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments