Correct 2 phpstan errors, condition is always true and wrong typing

This commit is contained in:
2024-02-12 14:50:26 +01:00
parent addc623add
commit 1ecc825945
2 changed files with 11 additions and 12 deletions

View File

@@ -65,7 +65,7 @@ class UserRender implements ChillEntityRenderInterface
}
/**
* @param array{main_scope?: bool, user_job?: bool, absence?: bool, at_date?: DateTimeImmutable|DateTimeMutable|null} $options
* @param array{main_scope?: bool, user_job?: bool, absence?: bool, at_date?: DateTimeImmutable|DateTime|null} $options
*/
public function renderString($entity, array $options): string
{