add annotations for thrown exceptions

This commit is contained in:
Marco Perone
2018-07-09 09:04:12 +02:00
parent 8a8b1c0d2a
commit 4b7374129c
21 changed files with 106 additions and 3 deletions
+3
View File
@@ -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();