From c1f918841657ed20a4482b884fd579d219d454fa Mon Sep 17 00:00:00 2001 From: Matt Smithies Date: Thu, 17 Nov 2022 12:22:28 +0000 Subject: [PATCH] Chore psalm --- src/Models/NFT/NonFungibleToken.php | 8 ++++---- src/Utilities/Hmac.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Models/NFT/NonFungibleToken.php b/src/Models/NFT/NonFungibleToken.php index a0c8b05..be91dce 100644 --- a/src/Models/NFT/NonFungibleToken.php +++ b/src/Models/NFT/NonFungibleToken.php @@ -96,17 +96,17 @@ public function setName(string $name): void } /** - * @return String + * @return Int */ - public function getSupply(): string + public function getSupply(): Int { return $this->supply; } /** - * @param String $supply + * @param Int $supply */ - public function setSupply(string $supply): void + public function setSupply(int $supply): void { $this->supply = $supply; } diff --git a/src/Utilities/Hmac.php b/src/Utilities/Hmac.php index ee04454..07ed87e 100644 --- a/src/Utilities/Hmac.php +++ b/src/Utilities/Hmac.php @@ -8,7 +8,7 @@ class Hmac * Generate a HMAC from request content to validate that a payload matches with a x-signature * * @link https://github.com/symfony/http-foundation/blob/master/Request.php#L1535 Documentation of Foo. - * @var string|resource|false|null + * @param $content * @return string */ public static function generate($content): string