before params as associative array
This commit is contained in:
parent
d35c3df06d
commit
6946059f07
11 changed files with 154 additions and 8 deletions
|
|
@ -62,6 +62,6 @@ final class AspectStackingTest extends TestCase
|
|||
$tracker = (object) ['before' => false, 'after' => false];
|
||||
$this->instance->multipleAspects(15, $tracker);
|
||||
|
||||
$this->assertEquals([15, $tracker], LoggingAspect::$logs[0]['args']);
|
||||
$this->assertEquals(['value' => 15, 'tracker' => $tracker], LoggingAspect::$logs[0]['args']);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue