Skip to content

Commit

Permalink
Add type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed May 9, 2019
1 parent 9e2d5d0 commit 91c1362
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Core/Curve25519/Fe.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public static function fromArray($array, $save_indexes = null)
$keys = range(0, $count - 1);
}
$array = array_values($array);
/** @var array<int, int> $keys */

$obj = new ParagonIE_Sodium_Core_Curve25519_Fe();
if ($save_indexes) {
Expand Down

0 comments on commit 91c1362

Please sign in to comment.