Skip to content
This repository was archived by the owner on Aug 16, 2024. It is now read-only.

Commit 4f90a47

Browse files
committed
Downgrade to php 7.0
1 parent 9dc4603 commit 4f90a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hooks/Action.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ public function run(...$args): void
3131
$container = $this->getContainer();
3232
$instance = $container->get($this->classIdentifier);
3333

34-
$instance->{$this->callbackMethod}(...$args);
34+
call_user_func_array([$instance, $this->callbackMethod], $args);
3535
}
3636
}

0 commit comments

Comments
 (0)