@@ -44,7 +44,7 @@ |
||
| 44 | 44 | ->then |
| 45 | 45 | ->string($id->toNative())->isEqualTo('GyuEmsRBfy61i59si0') |
| 46 | 46 | ->exception( |
| 47 | - function () { |
|
| 47 | + function() { |
|
| 48 | 48 | HashId::fromNative(109); |
| 49 | 49 | } |
| 50 | 50 | )->isInstanceOf(\InvalidArgumentException::class) |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | ->then |
| 45 | 45 | ->integer($id->toNative())->isEqualTo(10) |
| 46 | 46 | ->exception( |
| 47 | - function () { |
|
| 47 | + function() { |
|
| 48 | 48 | AutoIncrementId::fromNative('some-string'); |
| 49 | 49 | } |
| 50 | 50 | )->isInstanceOf(\InvalidArgumentException::class) |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | ->then |
| 45 | 45 | ->string($id->toNative())->isEqualTo('000871667') |
| 46 | 46 | ->exception( |
| 47 | - function () { |
|
| 47 | + function() { |
|
| 48 | 48 | SequenceId::fromNative(654.28); |
| 49 | 49 | } |
| 50 | 50 | )->isInstanceOf(\InvalidArgumentException::class) |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | throw new \InvalidArgumentException(sprintf('Argument "%s" is an invalid UUID.', $value)); |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | - $this->value = $value === null ? self::nextUUIDValue() : $value; |
|
| 46 | + $this->value = $value === null ? self::nextUUIDValue() : $value; |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |