We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents af8b9e4 + 110ab59 commit d6d84ebCopy full SHA for d6d84eb
2 files changed
src/Profiler.php
@@ -280,11 +280,11 @@ private function getSaver()
280
private function getDefaultConfig()
281
{
282
return array(
283
- 'save.handler' => Profiler::SAVER_STACK,
+ 'save.handler' => self::SAVER_STACK,
284
'save.handler.stack' => array(
285
'savers' => array(
286
- Profiler::SAVER_UPLOAD,
287
- Profiler::SAVER_FILE,
+ self::SAVER_UPLOAD,
+ self::SAVER_FILE,
288
),
289
'saveAll' => false,
290
src/ProfilerFactory.php
@@ -46,7 +46,7 @@ public static function create(array $config)
46
);
47
}
48
49
- foreach ($adapters as $profiler => $factory) {
+ foreach ($adapters as $factory) {
50
$adapter = $factory($config);
51
if ($adapter->isSupported()) {
52
return $adapter;
0 commit comments