Skip to content

Commit 5628b06

Browse files
authored
Fix docblock
As per Docblock standard there is no "number" type. https://phpstan.org/writing-php-code/phpdoc-types
1 parent 4fb7516 commit 5628b06

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lastguest/Murmur.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class Murmur {
1818

1919
/**
2020
* @param string $key Text to hash.
21-
* @param number $seed Positive integer only
22-
* @return number 32-bit positive integer hash
21+
* @param integer $seed Positive integer only
22+
* @return integer 32-bit positive integer hash
2323
*/
2424
public static function hash3_int(string $key, int $seed=0) : int {
2525
$key = array_values(unpack('C*', $key));
@@ -61,10 +61,10 @@ public static function hash3_int(string $key, int $seed=0) : int {
6161

6262
/**
6363
* @param string $key Text to hash.
64-
* @param number $seed Positive integer only
64+
* @param integer $seed Positive integer only
6565
* @return string
6666
*/
6767
public static function hash3(string $key, int $seed=0) : string {
6868
return base_convert(sprintf("%u\n", self::hash3_int($key, $seed)), 10, 32);
6969
}
70-
}
70+
}

0 commit comments

Comments
 (0)