mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Coding standards fixes
This commit is contained in:
@@ -42,7 +42,7 @@ class CombGenerator implements RandomGeneratorInterface
|
||||
|
||||
$hash = '';
|
||||
|
||||
if ($this->timestampBytes > 0 && $length > $this->timestampBytes) {
|
||||
if ($this->timestampBytes > 0 && $length > $this->timestampBytes) {
|
||||
$hash = $this->randomGenerator->generate($length - $this->timestampBytes);
|
||||
}
|
||||
|
||||
@@ -65,4 +65,4 @@ class CombGenerator implements RandomGeneratorInterface
|
||||
|
||||
return $time[1] . substr($time[0], 2, 5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -104,4 +104,4 @@ class PeclUuidFactory implements UuidFactoryInterface
|
||||
{
|
||||
return $this->factory->fromInteger($integer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,5 +17,4 @@ interface UuidFactoryInterface
|
||||
public function fromString($name);
|
||||
|
||||
public function fromInteger($integer);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user