We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
registerAdapter
1 parent 2617366 commit 73178ecCopy full SHA for 73178ec
src/main/java/com/marcospassos/phpserializer/SerializerBuilder.java
@@ -162,7 +162,7 @@ public SerializerBuilder addExclusionStrategy(FieldExclusionStrategy strategy)
162
*
163
* @return The current builder.
164
*/
165
- public <T> SerializerBuilder registerAdapter(Class<T> type, TypeAdapter<? extends T> adapter)
+ public <T> SerializerBuilder registerAdapter(Class type, TypeAdapter adapter)
166
{
167
adapterMap.put(type, adapter);
168
0 commit comments