diff --git a/phpunit.xml b/phpunit.xml index f83040094..71345e1cb 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,27 +1,13 @@ - - - - ./tests/ - - - - - ./src/ - - + + + + + ./src/ + + + + + ./tests/ + + diff --git a/src/Infrastructure/Persistence/User/InMemoryUserRepository.php b/src/Infrastructure/Persistence/User/InMemoryUserRepository.php index b85a74fa3..43976e61e 100644 --- a/src/Infrastructure/Persistence/User/InMemoryUserRepository.php +++ b/src/Infrastructure/Persistence/User/InMemoryUserRepository.php @@ -18,7 +18,7 @@ class InMemoryUserRepository implements UserRepository /** * @param User[]|null $users */ - public function __construct(array $users = null) + public function __construct(array|null $users = null) { $this->users = $users ?? [ 1 => new User(1, 'bill.gates', 'Bill', 'Gates'),