Replace string namespaces with ::class
This commit is contained in:
parent
9f11476ca0
commit
5fc42a744e
11 changed files with 52 additions and 26 deletions
|
@ -17,9 +17,9 @@ class ProfilerFactory
|
|||
public static function create(IConfigCache $configCache)
|
||||
{
|
||||
$enabled = $configCache->get('system', 'profiler');
|
||||
$enabled = isset($enabled) && $enabled !== '!<unset>!';
|
||||
$enabled = isset($enabled) && $enabled !== '0';
|
||||
$renderTime = $configCache->get('rendertime', 'callstack');
|
||||
$renderTime = isset($renderTime) && $renderTime !== '!<unset>!';
|
||||
$renderTime = isset($renderTime) && $renderTime !== '0';
|
||||
|
||||
return new Profiler($enabled, $renderTime);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue