Skip to content

Commit

Permalink
Ensure getRandomState() has the same method signature in the trait
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsey committed Nov 22, 2018
1 parent 3bf4897 commit 74924db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tool/MacAuthorizationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ abstract protected function getMacSignature($id, $ts, $nonce);
* @param int $length Length of the random string to be generated.
* @return string
*/
abstract protected function getRandomState($length);
abstract protected function getRandomState($length = 32);

/**
* Returns the authorization headers for the 'mac' grant.
Expand Down

0 comments on commit 74924db

Please sign in to comment.