mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
[ticket/10575] Fixing non-static access to static functions get_instance
These changes should solve the strict standards error about accessing the non-static get_instance() in a non-static way. For that, I changed the get_instance methods to static methods. PHPBB3-10575
This commit is contained in:
@@ -98,7 +98,7 @@ class phpbb_captcha_qa
|
||||
/**
|
||||
* API function
|
||||
*/
|
||||
function get_instance()
|
||||
static function get_instance()
|
||||
{
|
||||
$instance = new phpbb_captcha_qa();
|
||||
|
||||
|
Reference in New Issue
Block a user