Use GUID codec in all cases as it is now endianness independant

This commit is contained in:
Aztech
2015-08-14 22:43:58 +02:00
parent 958468d95b
commit 896cd9c4e2
2 changed files with 8 additions and 8 deletions
+1 -6
View File
@@ -42,11 +42,6 @@ use Ramsey\Uuid\Provider\TimeProviderInterface;
class FeatureSet
{
public static function isLittleEndianSystem()
{
return current(unpack('v', pack('S', 0x00FF))) === 0x00FF;
}
private $disableBigNumber = false;
private $disable64Bit = false;
@@ -124,7 +119,7 @@ class FeatureSet
protected function buildCodec($useGuids = false)
{
if ($useGuids && $this->isLittleEndianSystem()) {
if ($useGuids) {
return new GuidStringCodec($this->builder);
}