Skip to content

Commit

Permalink
Merge pull request #250 from koriym/update-license-action
Browse files Browse the repository at this point in the history
Add update license year action
  • Loading branch information
koriym committed Jan 5, 2022
2 parents 2066c54 + 9d70b2c commit baf0711
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/update-copyright-years-in-license-file.yml
@@ -0,0 +1,17 @@
name: Update copyright year(s) in license file

on:
workflow_dispatch:
schedule:
- cron: "0 3 1 1 *"

jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: FantasticFiasco/action-update-license-year@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion src/di/AssistedInjectInterceptor.php
Expand Up @@ -59,7 +59,7 @@ public function invoke(MethodInvocation $invocation)
$callable = [$invocation->getThis(), $invocation->getMethod()->getName()];
assert(is_callable($callable));

return call_user_func_array($callable, $namedArguments); // @phpstan-ignore-line PHP8 named arguments
return call_user_func_array($callable, $namedArguments);
}

/**
Expand Down

0 comments on commit baf0711

Please sign in to comment.