Skip to content

Commit

Permalink
Remove access modifier final from private methods
Browse files Browse the repository at this point in the history
Remove access modifier `final` from private methods as such methods are never overridden by other classes.
  • Loading branch information
junaidbinfarooq authored Dec 10, 2020
1 parent 1fc4828 commit 698df65
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 698df65

Please sign in to comment.