mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-18 16:37:43 +03:00
add typehints and return types
This commit is contained in:
committed by
Ben Ramsey
parent
3a42c259a7
commit
5459113b81
@@ -24,7 +24,7 @@ class RandomGeneratorFactory
|
||||
*
|
||||
* @return RandomGeneratorInterface
|
||||
*/
|
||||
public static function getGenerator()
|
||||
public static function getGenerator(): RandomGeneratorInterface
|
||||
{
|
||||
return new RandomBytesGenerator();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user