test
All checks were successful
/ ls (push) Successful in 19s

This commit is contained in:
lubiana 2023-10-16 21:59:20 +02:00
parent ff7e416c57
commit 9228c09d60
No known key found for this signature in database
2 changed files with 12 additions and 4 deletions

View file

@ -9,4 +9,14 @@ jobs:
- run: env | sort - run: env | sort
- run: composer install - run: composer install
- run: composer fix - run: composer fix
- name: GIT commit and push all changed files
env:
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
CI_COMMIT_AUTHOR: Continuous Integration
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com"
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }}"
git push

View file

@ -40,8 +40,7 @@ final class Finder
/** /**
* @return Listener[] * @return Listener[]
*/ */
public function getListeners(): array public function getListeners(): array {
{
$this->populateClassnames(); $this->populateClassnames();
return array_map( return array_map(
static fn (array $h): Listener static fn (array $h): Listener
@ -53,8 +52,7 @@ final class Finder
/** /**
* @return Handler[] * @return Handler[]
*/ */
public function getHandlers(): array public function getHandlers(): array {
{
$this->populateClassnames(); $this->populateClassnames();
return array_map( return array_map(
static fn (array $h): Handler static fn (array $h): Handler