Skip to content

Commit 0150ba2

Browse files
authored
Merge pull request #10 from CiiDyR/patch-1
Fix docblock
2 parents 4c74e02 + 5628b06 commit 0150ba2

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)