Skip to content

Commit 6f210db

Browse files
committed
Fix typo in argument name.
Should be filename, not data, since this is the hash_file() function.
1 parent e55de6a commit 6f210db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crc_fast.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ function hash(int $algorithm, string $data, bool $binary = false): string
9393
* Calculates the CRC checksum of the given file.
9494
*
9595
* @param int $algorithm
96-
* @param string $data
96+
* @param string $filename
9797
* @param bool $binary Output binary string or hex?
9898
* @param null|int $chunkSize
9999
*
100100
* @return string
101101
*/
102-
function hash_file(int $algorithm, string $data, bool $binary = false, ?int $chunkSize = null): string
102+
function hash_file(int $algorithm, string $filename, bool $binary = false, ?int $chunkSize = null): string
103103
{
104104
}
105105

0 commit comments

Comments
 (0)