Skip to content

Commit

Permalink
allow any method call in null driver
Browse files Browse the repository at this point in the history
  • Loading branch information
jszobody committed Aug 9, 2023
1 parent 01eb0fc commit d6a59f5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Drivers/NullDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@ public function format(Metric $metric): array
{
return [];
}

public function __call($method, $parameters)
{
return $this;
}
}

0 comments on commit d6a59f5

Please sign in to comment.