Skip to content

Commit b292c27

Browse files
committed
- chore: CS
1 parent ddc4eaa commit b292c27

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Serializer/SerializerFactory.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,9 @@ public static function new(string $name, ...$args): Serializer
5757
return new MsgpackSerializer;
5858
// @codeCoverageIgnoreEnd
5959
}
60-
6160
if (is_a($name, Serializer::class, true)) {
6261
return new $name(...$args);
6362
}
64-
6563
throw SerializerException::forCreateSerializer($name);
6664
}
6765
}

0 commit comments

Comments
 (0)