diff --git a/composer.json b/composer.json index 9ad51e8..f4359cb 100644 --- a/composer.json +++ b/composer.json @@ -40,8 +40,8 @@ }, "require-dev": { "phpunit/phpunit": "^9.5", - "vimeo/psalm": "^4.4", - "phpstan/phpstan": "^0.12.80", + "vimeo/psalm": "^4", + "phpstan/phpstan": "^1.8", "squizlabs/php_codesniffer": "^3.5", "symfony/http-foundation": "^5" }, diff --git a/src/UziUser.php b/src/UziUser.php index 749fc05..600163f 100644 --- a/src/UziUser.php +++ b/src/UziUser.php @@ -172,9 +172,7 @@ public function setUziVersion(string $uzi_version): void $this->uzi_version = $uzi_version; } - /** - * @return mixed|string[] - */ + #[\ReturnTypeWillChange] public function jsonSerialize() { return $this->toarray();