Skip to content

Commit

Permalink
15
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Dec 19, 2024
1 parent b4cdf7f commit c323c83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Collector/LoggerInterfaceProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public function debug(string|Stringable $message, array $context = []): void

public function log(mixed $level, string|Stringable $message, array $context = []): void
{
$level = (string) $level;
$callStack = $this->getCallStack();

$this->collector->collect($level, $message, $context, $callStack['file'] . ':' . $callStack['line']);
Expand Down
3 changes: 3 additions & 0 deletions src/Collector/ServiceMethodProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ class ServiceMethodProxy extends ServiceProxy
public function __construct(
string $service,
object $instance,
/**
* @psalm-var array<string, callable>
*/
private readonly array $methods,
ContainerProxyConfig $config
) {
Expand Down

0 comments on commit c323c83

Please sign in to comment.