Migrates to Pint

This commit is contained in:
Nuno Maduro
2022-09-16 10:45:53 +01:00
parent 579b975318
commit e9564febaf
94 changed files with 413 additions and 471 deletions

View File

@ -27,7 +27,7 @@ final class HigherOrderTapProxy
/**
* Dynamically sets properties on the target.
*
* @param mixed $value
* @param mixed $value
*/
public function __set(string $property, $value): void
{
@ -60,14 +60,13 @@ final class HigherOrderTapProxy
/**
* Dynamically pass method calls to the target.
*
* @param array<int, mixed> $arguments
*
* @param array<int, mixed> $arguments
* @return mixed
*/
public function __call(string $methodName, array $arguments)
{
$filename = Backtrace::file();
$line = Backtrace::line();
$line = Backtrace::line();
return (new HigherOrderMessage($filename, $line, $methodName, $arguments))
->call($this->target);