mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/16736] Fix invalid placement of visibility qualifiers next to static
PHPBB3-16736
This commit is contained in:
@@ -24,7 +24,7 @@ use Symfony\Component\Debug\ExceptionHandler;
|
||||
*/
|
||||
class debug
|
||||
{
|
||||
private static $enabled = false;
|
||||
static private $enabled = false;
|
||||
|
||||
/**
|
||||
* Enables the debug tools.
|
||||
@@ -37,7 +37,7 @@ class debug
|
||||
* @param int $errorReportingLevel The level of error reporting you want
|
||||
* @param bool $displayErrors Whether to display errors (for development) or just log them (for production)
|
||||
*/
|
||||
public static function enable($errorReportingLevel = null, $displayErrors = true)
|
||||
static public function enable($errorReportingLevel = null, $displayErrors = true)
|
||||
{
|
||||
if (static::$enabled)
|
||||
{
|
||||
|
Reference in New Issue
Block a user