add typehints and return types

This commit is contained in:
Massimiliano Arione
2019-09-12 15:47:49 +02:00
committed by Ben Ramsey
parent 3a42c259a7
commit 5459113b81
34 changed files with 185 additions and 175 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ class PeclUuidTimeGenerator implements TimeGeneratorInterface
* @param int $clockSeq Not used in this context
* @return string A binary string
*/
public function generate($node = null, $clockSeq = null)
public function generate($node = null, int $clockSeq = null): string
{
$uuid = uuid_create(UUID_TYPE_TIME);