mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/10824] Add missing imports and adjust json sanitizer imports
This way the imports will also be a bit more explicit to the fact that this is only a json sanitizer. PHPBB3-10824
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
namespace phpbb;
|
||||
|
||||
use phpbb\exception\version_check_exception;
|
||||
use phpbb\json\sanitizer as json_sanitizer;
|
||||
|
||||
/**
|
||||
* Class to handle version checking and comparison
|
||||
@@ -390,7 +391,7 @@ class version_helper
|
||||
}
|
||||
|
||||
// Sanitize any data we retrieve from a server
|
||||
$info = json\sanitizer::decode($info);
|
||||
$info = json_sanitizer::decode($info);
|
||||
|
||||
if (empty($info['stable']) && empty($info['unstable']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user