@@ -54,6 +54,9 @@ |
||
54 | 54 | return Uuid::uuid1(); |
55 | 55 | } |
56 | 56 | |
57 | + /** |
|
58 | + * @param string $uuid |
|
59 | + */ |
|
57 | 60 | public static function encodeUuid($uuid): string |
58 | 61 | { |
59 | 62 | if (! Uuid::isValid($uuid)) { |
@@ -3,8 +3,8 @@ |
||
3 | 3 | namespace Spatie\BinaryUuid; |
4 | 4 | |
5 | 5 | use Exception; |
6 | -use Ramsey\Uuid\Uuid; |
|
7 | 6 | use Illuminate\Database\Eloquent\Model; |
7 | +use Ramsey\Uuid\Uuid; |
|
8 | 8 | |
9 | 9 | trait HasBinaryUuid |
10 | 10 | { |