Skip to content

Commit 74924db

Browse files
committed
Ensure getRandomState() has the same method signature in the trait
1 parent 3bf4897 commit 74924db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tool/MacAuthorizationTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ abstract protected function getMacSignature($id, $ts, $nonce);
4949
* @param int $length Length of the random string to be generated.
5050
* @return string
5151
*/
52-
abstract protected function getRandomState($length);
52+
abstract protected function getRandomState($length = 32);
5353

5454
/**
5555
* Returns the authorization headers for the 'mac' grant.

0 commit comments

Comments
 (0)