Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | public static function make(): string |
||
24 | { |
||
25 | try { |
||
26 | return Uuid::uuid4()->toString(); |
||
27 | } catch (UnsatisfiedDependencyException $exception) { |
||
28 | Log::critical('Caught exception: ' . $exception->getMessage() . "\n"); |
||
29 | } catch (Throwable $exception) { |
||
30 | Log::critical('Caught exception: ' . $exception->getMessage() . "\n"); |
||
31 | } |
||
32 | |||
33 | return ''; |
||
34 | } |
||
36 |