diff --git a/src/LengthCalculator.php b/src/LengthCalculator.php index 7617744..0611503 100644 --- a/src/LengthCalculator.php +++ b/src/LengthCalculator.php @@ -21,7 +21,6 @@ final class LengthCalculator { /** - * @param string $data * @return array{int, null|string} */ public static function getLengthOfString(string $data): array @@ -33,6 +32,7 @@ public static function getLengthOfString(string $data): array /** * @param array $data + * * @return array{int, null|string} */ public static function getLengthOfArray(array $data): array diff --git a/src/MapObject.php b/src/MapObject.php index 3bd0482..3971493 100644 --- a/src/MapObject.php +++ b/src/MapObject.php @@ -55,7 +55,7 @@ public function __construct(array $data = []) } /** - * @param MapItem[] $data + * @param MapItem[] $data */ public static function create(array $data = []): self {