From 3ec2290460611d8a639031bd24f70ca5f67f6b26 Mon Sep 17 00:00:00 2001 From: Jannik Zschiesche Date: Fri, 23 Jan 2026 16:38:30 +0100 Subject: [PATCH] Improve autocompletion --- CHANGELOG.md | 6 ++++++ src/Route/Linkable.php | 2 ++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e6448a7..a44157d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +3.4.3 +===== + +* (improvement) Add annotation to improve autocompletion. + + 3.4.2 ===== diff --git a/src/Route/Linkable.php b/src/Route/Linkable.php index 05f90e9..6861ff9 100644 --- a/src/Route/Linkable.php +++ b/src/Route/Linkable.php @@ -19,6 +19,8 @@ final class Linkable implements LinkableInterface /** * The parameters match the ones from {@see UrlGeneratorInterface::generate()} + * + * @param string $route The #Route to link o */ public function __construct ( private readonly string $route,