mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Refactor codecs to remove duplication
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ class FeatureSet
|
||||
protected function buildCodec($useGuids = false)
|
||||
{
|
||||
if ($useGuids) {
|
||||
return new GuidStringCodec($this->builder, $this->buildCodec(false));
|
||||
return new GuidStringCodec($this->builder);
|
||||
}
|
||||
|
||||
return new StringCodec($this->builder);
|
||||
|
||||
Reference in New Issue
Block a user