Skip to content

Commit

Permalink
Merge pull request #158 from junaidbinfarooq/patch-1
Browse files Browse the repository at this point in the history
Remove access modifier final from private methods (PHP 8 support)
  • Loading branch information
paragonie-security authored Apr 18, 2021
2 parents 1fc4828 + 698df65 commit 78e77b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,7 @@ protected static function splitKeys(
* @throws \SodiumException
* @throws \TypeError
*/
final private static function streamEncrypt(
private static function streamEncrypt(
ReadOnlyFile $input,
MutableFile $output,
EncryptionKey $encKey,
Expand Down Expand Up @@ -1276,7 +1276,7 @@ final private static function streamEncrypt(
* @throws \TypeError
* @throws \SodiumException
*/
final private static function streamDecrypt(
private static function streamDecrypt(
ReadOnlyFile $input,
MutableFile $output,
EncryptionKey $encKey,
Expand Down Expand Up @@ -1363,7 +1363,7 @@ final private static function streamDecrypt(
* @throws \TypeError
* @throws \SodiumException
*/
final private static function streamVerify(
private static function streamVerify(
ReadOnlyFile $input,
$mac,
Config $config
Expand Down

0 comments on commit 78e77b6

Please sign in to comment.