mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Mark Guid\Guid and Nonstandard\Uuid classes as final
This commit is contained in:
@@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
PHP, so it should be named `Integer` for consistency with other types in this
|
||||
library. When using it, a class alias prevents static analysis from
|
||||
complaining.
|
||||
* Mark `Guid\Guid` and `Nonstandard\Uuid` classes as `final`.
|
||||
|
||||
### Deprecated
|
||||
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ use Ramsey\Uuid\UuidInterface;
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class Guid extends Uuid implements UuidInterface
|
||||
final class Guid extends Uuid implements UuidInterface
|
||||
{
|
||||
public function __construct(
|
||||
Fields $fields,
|
||||
|
||||
@@ -25,7 +25,7 @@ use Ramsey\Uuid\UuidInterface;
|
||||
*
|
||||
* @psalm-immutable
|
||||
*/
|
||||
class Uuid extends BaseUuid implements UuidInterface
|
||||
final class Uuid extends BaseUuid implements UuidInterface
|
||||
{
|
||||
public function __construct(
|
||||
Fields $fields,
|
||||
|
||||
Reference in New Issue
Block a user