mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
add annotations for thrown exceptions
This commit is contained in:
@@ -123,6 +123,8 @@ interface UuidInterface extends \JsonSerializable, \Serializable
|
||||
*
|
||||
* @return \DateTime A PHP DateTime representation of the date
|
||||
* @throws UnsupportedOperationException If this UUID is not a version 1 UUID
|
||||
* @throws \Ramsey\Uuid\Exception\UnsatisfiedDependencyException if called in a 32-bit system and
|
||||
* `Moontoast\Math\BigNumber` is not present
|
||||
*/
|
||||
public function getDateTime();
|
||||
|
||||
@@ -131,6 +133,7 @@ interface UuidInterface extends \JsonSerializable, \Serializable
|
||||
* representation.
|
||||
*
|
||||
* @return mixed Converted representation of the unsigned 128-bit integer value
|
||||
* @throws \Ramsey\Uuid\Exception\UnsatisfiedDependencyException if `Moontoast\Math\BigNumber` is not present
|
||||
*/
|
||||
public function getInteger();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user