mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/11092] phpbb_gen_download_links strict standards errors
Two strict standards errors in phpbb_gen_download_links PHPBB3-11092
This commit is contained in:
@@ -159,8 +159,10 @@ class compress
|
||||
|
||||
/**
|
||||
* Return available methods
|
||||
*
|
||||
* @return array Array of strings of available compression methods (.tar, .tar.gz, .zip, etc.)
|
||||
*/
|
||||
function methods()
|
||||
public static function methods()
|
||||
{
|
||||
$methods = array('.tar');
|
||||
$available_methods = array('.tar.gz' => 'zlib', '.tar.bz2' => 'bz2', '.zip' => 'zlib');
|
||||
|
Reference in New Issue
Block a user