File tree Expand file tree Collapse file tree
src/Elasticsearch/Serializer
tests/Elasticsearch/Serializer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public function getSupportedTypes($format): array
111111 ];
112112 }
113113
114- return DocumentNormalizer::FORMAT = == $ format ? $ this ->decorated ->getSupportedTypes ($ format ) : [];
114+ return DocumentNormalizer::FORMAT ! == $ format ? $ this ->decorated ->getSupportedTypes ($ format ) : [];
115115 }
116116
117117 /**
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ public function getSupportedTypes(?string $format): array
166166 }
167167 });
168168
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 ' ));
171171 }
172172}
You can’t perform that action at this time.
0 commit comments