File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/Elasticsearch/Serializer
tests/Elasticsearch/Serializer Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public function getSupportedTypes($format): array
111
111
];
112
112
}
113
113
114
- return DocumentNormalizer::FORMAT = == $ format ? $ this ->decorated ->getSupportedTypes ($ format ) : [];
114
+ return DocumentNormalizer::FORMAT ! == $ format ? $ this ->decorated ->getSupportedTypes ($ format ) : [];
115
115
}
116
116
117
117
/**
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ public function getSupportedTypes(?string $format): array
166
166
}
167
167
});
168
168
169
- $ this ->assertEmpty ($ this ->itemNormalizer ->getSupportedTypes (' json ' ));
170
- $ this ->assertSame (['* ' => true ], $ this ->itemNormalizer ->getSupportedTypes ($ this -> itemNormalizer :: FORMAT ));
169
+ $ this ->assertEmpty ($ this ->itemNormalizer ->getSupportedTypes ($ this -> itemNormalizer :: FORMAT ));
170
+ $ this ->assertSame (['* ' => true ], $ this ->itemNormalizer ->getSupportedTypes (' json ' ));
171
171
}
172
172
}
You can’t perform that action at this time.
0 commit comments