Interfaces should have the suffix "Interface" in their names

This commit is contained in:
Ben Ramsey
2014-11-08 16:27:20 -05:00
parent ebea9b969b
commit 680fd794cb
13 changed files with 23 additions and 23 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ class UuidFactory
/**
*
* @var Codec
* @var CodecInterface
*/
private $codec = null;
@@ -30,7 +30,7 @@ class UuidFactory
private $numberConverter = null;
/**
* @var RandomGenerator
* @var RandomGeneratorInterface
*/
private $randomGenerator = null;
@@ -84,7 +84,7 @@ class UuidFactory
$this->timeProvider = $provider;
}
public function setRandomGenerator(RandomGenerator $generator)
public function setRandomGenerator(RandomGeneratorInterface $generator)
{
$this->randomGenerator = $generator;
}