mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
chore(deps-dev): remove Psalm
This commit is contained in:
@@ -33,12 +33,12 @@ use function substr;
|
||||
* To support large integers beyond PHP_INT_MAX and PHP_INT_MIN on both 64-bit
|
||||
* and 32-bit systems, we store the integers as strings.
|
||||
*
|
||||
* @psalm-immutable
|
||||
* @immutable
|
||||
*/
|
||||
final class Integer implements NumberInterface
|
||||
{
|
||||
/**
|
||||
* @psalm-var numeric-string
|
||||
* @var numeric-string
|
||||
*/
|
||||
private string $value;
|
||||
|
||||
@@ -55,7 +55,7 @@ final class Integer implements NumberInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* @psalm-return numeric-string
|
||||
* @return numeric-string
|
||||
*/
|
||||
public function toString(): string
|
||||
{
|
||||
@@ -63,7 +63,7 @@ final class Integer implements NumberInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* @psalm-return numeric-string
|
||||
* @return numeric-string
|
||||
*/
|
||||
public function __toString(): string
|
||||
{
|
||||
@@ -92,8 +92,6 @@ final class Integer implements NumberInterface
|
||||
* Constructs the object from a serialized string representation
|
||||
*
|
||||
* @param string $data The serialized string representation of the object
|
||||
*
|
||||
* @psalm-suppress UnusedMethodCall
|
||||
*/
|
||||
public function unserialize(string $data): void
|
||||
{
|
||||
@@ -147,7 +145,6 @@ final class Integer implements NumberInterface
|
||||
if ($sign === '-' && $value !== '0') {
|
||||
$value = $sign . $value;
|
||||
|
||||
/** @psalm-suppress InaccessibleProperty */
|
||||
$this->isNegative = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user