Skip to content

Commit

Permalink
Use 3.28-compatible rx attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Sep 20, 2018
1 parent a969af4 commit ec67292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/random/private.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

use namespace HH\Lib\{Math, Str};

<<__Rx, __AtMostRxAsArgs>>
<<__Rx, __OnlyRxIfArgs>>
function random_string(
<<__AtMostRxAsFunc>>
<<__OnlyRxIfRxFunc>>
(function (int): string) $random_bytes,
int $length,
?string $alphabet = null,
Expand Down

0 comments on commit ec67292

Please sign in to comment.