before params as associative array
This commit is contained in:
parent
d35c3df06d
commit
6946059f07
11 changed files with 154 additions and 8 deletions
|
|
@ -15,7 +15,7 @@ class BasicAspect
|
|||
) {
|
||||
}
|
||||
|
||||
public function before(mixed ...$args): void
|
||||
public function before(array $args): void
|
||||
{
|
||||
$this->object = end($args);
|
||||
$this->object->before = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue