diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2022-03-28 10:08:53 +0100 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2022-03-28 10:08:53 +0100 |
| commit | 19033cfecea5d8023d1237c96060c58e3084837a (patch) | |
| tree | c27964143a84c3f13a6e5279b872411c21e13c76 /app/Contracts/SlugFactoryInterface.php | |
| parent | 3c3c3c35f3761e6fedc34906a9bb41bd0fd73dce (diff) | |
| download | webtrees-19033cfecea5d8023d1237c96060c58e3084837a.tar.gz webtrees-19033cfecea5d8023d1237c96060c58e3084837a.tar.bz2 webtrees-19033cfecea5d8023d1237c96060c58e3084837a.zip | |
Fix: #4280 - empty slugs break routing
Diffstat (limited to 'app/Contracts/SlugFactoryInterface.php')
| -rw-r--r-- | app/Contracts/SlugFactoryInterface.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Contracts/SlugFactoryInterface.php b/app/Contracts/SlugFactoryInterface.php index c3e463a567..5452f98276 100644 --- a/app/Contracts/SlugFactoryInterface.php +++ b/app/Contracts/SlugFactoryInterface.php @@ -29,7 +29,7 @@ interface SlugFactoryInterface /** * @param GedcomRecord $record * - * @return string|null + * @return string */ - public function make(GedcomRecord $record): ?string; + public function make(GedcomRecord $record): string; } |
