summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitry Patsura <[email protected]>2019-06-07 16:51:13 +0300
committerDmitry Patsura <[email protected]>2019-06-07 17:13:59 +0300
commit04bbb8f9fec746cc651ad9fc7ddc86b7e3049338 (patch)
tree9a43b0e1195d9d5f01e6707e8679de7264876b30 /src
parent4229ef797ddd62f2bed7f2544043800c2def6a92 (diff)
Fix(rr): Non-static method RRHelper::extractZIP() should not be called statically
Diffstat (limited to 'src')
-rw-r--r--src/bin/rr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/rr b/src/bin/rr
index 633b5a25..a3c613b1 100644
--- a/src/bin/rr
+++ b/src/bin/rr
@@ -146,7 +146,7 @@ class RRHelper
* @param string $target
* @throws Exception
*/
- protected function extractZIP(string $archive, string $target)
+ protected static function extractZIP(string $archive, string $target)
{
$zip = new ZipArchive();
$zip->open($archive);
@@ -173,7 +173,7 @@ class RRHelper
* @param string $target
* @throws Exception
*/
- protected function extractTAR(string $archive, string $target)
+ protected static function extractTAR(string $archive, string $target)
{
$arch = new PharData($archive);
$arch->extractTo('./', self::getSignature() . '/rr');