Skip to content

Commit e10dfb3

Browse files
committed
fix phpstan types
1 parent 777af71 commit e10dfb3

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/SpamSum.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class SpamSum
1414
* min blocksize = 3
1515
* block size computed automatically
1616
*
17-
* @param type $string
17+
* @param string $string
1818
* @return \webd\language\SpamSum
1919
*/
2020
public static function Hash($string)
@@ -41,7 +41,7 @@ public static function Hash($string)
4141
* Set a different hash length
4242
* min = 1, default = 64
4343
*
44-
* @param type $l
44+
* @param int $l
4545
*/
4646
public function SetHashLength($l)
4747
{
@@ -51,7 +51,7 @@ public function SetHashLength($l)
5151
/**
5252
* Set the number of letters to use to create the hash
5353
* min = 2, max = 64, default = 64 (base64)
54-
* @param type $l
54+
* @param int $l
5555
*/
5656
public function SetLetters($l)
5757
{
@@ -61,7 +61,7 @@ public function SetLetters($l)
6161
/**
6262
* Manually set the minimum block size
6363
* min = 1, default = 3
64-
* @param type $s
64+
* @param int $s
6565
*/
6666
public function SetMinBlocksize($s)
6767
{
@@ -71,7 +71,7 @@ public function SetMinBlocksize($s)
7171
/**
7272
* Set the blok size manually, so that it won't be computed from the length of
7373
* the string
74-
* @param type $s
74+
* @param int $s
7575
*/
7676
public function SetBlockSize($s)
7777
{
@@ -81,7 +81,7 @@ public function SetBlockSize($s)
8181

8282
/**
8383
*
84-
* @param type $string
84+
* @param string $string
8585
* @return \webd\language\SpamSum
8686
*/
8787
public function HashString($string)

0 commit comments

Comments
 (0)