Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
29 | public function generate() |
||
30 | { |
||
31 | if (!\interface_exists('Ramsey\Uuid\DeprecatedUuidInterface')) { |
||
32 | throw new UnsupportedIdentityException( |
||
33 | 'Ordered UUID (version 6) are not available. Update ramsey/uuid to version ^4.0' |
||
34 | ); |
||
35 | } |
||
36 | |||
37 | return UuidIdentity::fromString(Uuid::uuid6()->toString()); |
||
|
|||
38 | } |
||
40 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.