Skip to content

Commit

Permalink
fix stan
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Feb 22, 2023
1 parent 0665444 commit 8c1b489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Card.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public function addClickAction(Model\UserAction $action, Button $button = null,
if ($isNew) {
$ex = $cardDeck->sharedExecutorsContainer->getExecutorFactory()->createExecutor($action, $this);

$ex->onHook(UserAction\BasicExecutor::HOOK_AFTER_EXECUTE, \Closure::bind(function (ExecutorInterface $ex, $return, $id) use ($cardDeck, $action) {
$ex->onHook(UserAction\BasicExecutor::HOOK_AFTER_EXECUTE, \Closure::bind(function (ExecutorInterface $ex, $return, $id) use ($cardDeck, $action) { // @phpstan-ignore-line
return $cardDeck->jsExecute($return, $action);
}, null, CardDeck::class));

Expand Down

0 comments on commit 8c1b489

Please sign in to comment.