diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2022-02-01 17:44:43 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2022-02-01 17:48:49 +0000 |
| commit | f3b2e3232e537772640b5cbe5fc822bb68d98fe1 (patch) | |
| tree | 97cf7dcbd43e703083d0f7874953522b15920f94 /app/Contracts/CalendarDateFactoryInterface.php | |
| parent | b7b71725c00e545f55686e19948ab12c8a573982 (diff) | |
| download | webtrees-f3b2e3232e537772640b5cbe5fc822bb68d98fe1.tar.gz webtrees-f3b2e3232e537772640b5cbe5fc822bb68d98fe1.tar.bz2 webtrees-f3b2e3232e537772640b5cbe5fc822bb68d98fe1.zip | |
Wrong return type
Diffstat (limited to 'app/Contracts/CalendarDateFactoryInterface.php')
| -rw-r--r-- | app/Contracts/CalendarDateFactoryInterface.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Contracts/CalendarDateFactoryInterface.php b/app/Contracts/CalendarDateFactoryInterface.php index 138d3c28a4..2eeb9eed83 100644 --- a/app/Contracts/CalendarDateFactoryInterface.php +++ b/app/Contracts/CalendarDateFactoryInterface.php @@ -31,9 +31,9 @@ interface CalendarDateFactoryInterface * * @param string $date * - * @return AbstractCalendarDate|null + * @return AbstractCalendarDate */ - public function make(string $date): ?AbstractCalendarDate; + public function make(string $date): AbstractCalendarDate; /** * A list of supported calendars and their names. |
