Skip to content

Commit 2be5cbb

Browse files
committed
feat: use new config API
1 parent 75743d6 commit 2be5cbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Headers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static function resetStatus($httpCode = 200)
4646
public static function all(bool $safeOutput = false): array
4747
{
4848
if (class_exists('Leaf\Eien\Server') && PHP_SAPI === 'cli') {
49-
return \Leaf\Config::get('request.headers');
49+
return \Leaf\Config::getStatic('request.headers');
5050
}
5151

5252
return ($safeOutput === false) ?

0 commit comments

Comments
 (0)