diff --git a/.github/workflows/rector.yml b/.github/workflows/rector.yml index adacd73..b5a5649 100644 --- a/.github/workflows/rector.yml +++ b/.github/workflows/rector.yml @@ -14,6 +14,8 @@ name: rector jobs: rector: uses: yiisoft/actions/.github/workflows/rector.yml@master + secrets: + token: ${{ secrets.YIISOFT_GITHUB_TOKEN }} with: os: >- ['ubuntu-latest'] diff --git a/composer.json b/composer.json index f62160e..8b399bb 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "require-dev": { "maglnet/composer-require-checker": "^4.2", "phpunit/phpunit": "^9.5", - "rector/rector": "^0.17.0", + "rector/rector": "^0.18.3", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^4.30|^5.8" diff --git a/src/Provider/ListenerCollection.php b/src/Provider/ListenerCollection.php index 8522f28..c0189e3 100644 --- a/src/Provider/ListenerCollection.php +++ b/src/Provider/ListenerCollection.php @@ -49,9 +49,6 @@ public function getForEvents(string ...$eventClassNames): iterable * * Any callable could be used be it a closure, invokable object or array referencing a class or object. * - * @param callable $listener - * @param string ...$eventClassNames - * * @throws InvalidArgumentException If callable is invalid. */ public function add(callable $listener, string ...$eventClassNames): self