mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-24 17:35:57 +03:00
Clean up code according to PhpStorm inspections report
This commit is contained in:
@@ -74,7 +74,7 @@ class StringCodec implements CodecInterface
|
||||
*
|
||||
* @param string $encodedUuid
|
||||
* @return UuidInterface
|
||||
* @throws \Ramsey\Uuid\Exception\InvalidUuidStringException
|
||||
* @throws InvalidUuidStringException
|
||||
*/
|
||||
public function decode($encodedUuid)
|
||||
{
|
||||
@@ -89,7 +89,7 @@ class StringCodec implements CodecInterface
|
||||
*
|
||||
* @param string $bytes
|
||||
* @return UuidInterface
|
||||
* @throws \InvalidArgumentException if string has not 16 characters
|
||||
* @throws InvalidArgumentException if string has not 16 characters
|
||||
*/
|
||||
public function decodeBytes($bytes)
|
||||
{
|
||||
@@ -117,7 +117,7 @@ class StringCodec implements CodecInterface
|
||||
*
|
||||
* @param string $encodedUuid
|
||||
* @return array
|
||||
* @throws \Ramsey\Uuid\Exception\InvalidUuidStringException
|
||||
* @throws InvalidUuidStringException
|
||||
*/
|
||||
protected function extractComponents($encodedUuid)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user