From 698df651adae582477ed41e8efef6bd47204d933 Mon Sep 17 00:00:00 2001 From: Junaid Farooq Date: Thu, 10 Dec 2020 17:40:03 +0530 Subject: [PATCH] Remove access modifier final from private methods Remove access modifier `final` from private methods as such methods are never overridden by other classes. --- src/File.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/File.php b/src/File.php index d72f96b..2b6d96e 100644 --- a/src/File.php +++ b/src/File.php @@ -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, @@ -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, @@ -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