← All changes
|
includes/sdk/google/ramsey/uuid/src/Builder/UuidBuilderInterface.php
+7
-8
1.2.13
→
1.4.2
View file →
| @@ -9,16 +9,16 @@ | ||
| 9 | 9 | * @copyright Copyright (c) Ben Ramsey <[email protected]> |
| 10 | 10 | * @license http://opensource.org/licenses/MIT MIT |
| 11 | 11 | */ |
| 12 | 12 | declare (strict_types=1); |
| 13 | -namespace Dudlewebs\WPMCS\Ramsey\Uuid\Builder; | |
| 13 | +namespace Dudlewebs\WPMCS\GCP\Ramsey\Uuid\Builder; | |
| 14 | 14 | |
| 15 | -use Dudlewebs\WPMCS\Ramsey\Uuid\Codec\CodecInterface; | |
| 16 | -use Dudlewebs\WPMCS\Ramsey\Uuid\UuidInterface; | |
| 15 | +use Dudlewebs\WPMCS\GCP\Ramsey\Uuid\Codec\CodecInterface; | |
| 16 | +use Dudlewebs\WPMCS\GCP\Ramsey\Uuid\UuidInterface; | |
| 17 | 17 | /** |
| 18 | 18 | * A UUID builder builds instances of UuidInterface |
| 19 | 19 | * |
| 20 | - * @psalm-immutable | |
| 20 | + * @immutable | |
| 21 | 21 | */ |
| 22 | 22 | interface UuidBuilderInterface |
| 23 | 23 | { |
| 24 | 24 | /** |
| @@ -26,11 +26,10 @@ | ||
| 26 | 26 | * |
| 27 | 27 | * @param CodecInterface $codec The codec to use for building this UuidInterface instance |
| 28 | 28 | * @param string $bytes The byte string from which to construct a UUID |
| 29 | 29 | * |
| 30 | - * @return UuidInterface Implementations may choose to return more specific | |
| 31 | - * instances of UUIDs that implement UuidInterface | |
| 30 | + * @return UuidInterface Implementations may choose to return more specific instances of UUIDs that implement UuidInterface | |
| 32 | 31 | * |
| 33 | - * @psalm-pure | |
| 32 | + * @pure | |
| 34 | 33 | */ |
| 35 | - public function build(CodecInterface $codec, string $bytes): UuidInterface; | |
| 34 | + public function build(CodecInterface $codec, string $bytes) : UuidInterface; | |
| 36 | 35 | } |