From 2fd86e2cf914488201f2d15783f463dd58de94df Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Sat, 21 Mar 2015 20:14:43 +0000 Subject: [PATCH] Coding standards fixes --- src/Generator/CombGenerator.php | 4 ++-- src/PeclUuidFactory.php | 2 +- src/UuidFactoryInterface.php | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Generator/CombGenerator.php b/src/Generator/CombGenerator.php index 24e3428..9a0c021 100644 --- a/src/Generator/CombGenerator.php +++ b/src/Generator/CombGenerator.php @@ -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); } -} \ No newline at end of file +} diff --git a/src/PeclUuidFactory.php b/src/PeclUuidFactory.php index 5436ece..4ceea8f 100644 --- a/src/PeclUuidFactory.php +++ b/src/PeclUuidFactory.php @@ -104,4 +104,4 @@ class PeclUuidFactory implements UuidFactoryInterface { return $this->factory->fromInteger($integer); } -} \ No newline at end of file +} diff --git a/src/UuidFactoryInterface.php b/src/UuidFactoryInterface.php index 99a743e..ea589a7 100644 --- a/src/UuidFactoryInterface.php +++ b/src/UuidFactoryInterface.php @@ -17,5 +17,4 @@ interface UuidFactoryInterface public function fromString($name); public function fromInteger($integer); - -} \ No newline at end of file +}