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
@@ -74,6 +74,7 @@ class StringCodec implements CodecInterface
*
* @param string $encodedUuid
* @return UuidInterface
* @throws \Ramsey\Uuid\Exception\InvalidUuidStringException
*/
public function decode($encodedUuid)
{
@@ -88,6 +89,7 @@ class StringCodec implements CodecInterface
*
* @param string $bytes
* @return UuidInterface
* @throws \InvalidArgumentException if string has not 16 characters
*/
public function decodeBytes($bytes)
{
@@ -115,6 +117,7 @@ class StringCodec implements CodecInterface
*
* @param string $encodedUuid
* @return array
* @throws \Ramsey\Uuid\Exception\InvalidUuidStringException
*/
protected function extractComponents($encodedUuid)
{