🔧
This commit is contained in:
2
vendor/symfony/uid/Factory/UlidFactory.php
vendored
2
vendor/symfony/uid/Factory/UlidFactory.php
vendored
@@ -15,7 +15,7 @@ use Symfony\Component\Uid\Ulid;
|
||||
|
||||
class UlidFactory
|
||||
{
|
||||
public function create(\DateTimeInterface $time = null): Ulid
|
||||
public function create(?\DateTimeInterface $time = null): Ulid
|
||||
{
|
||||
return new Ulid(null === $time ? null : Ulid::generate($time));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user