From c254128a4c1098871ea8bbf6650adb9e49f29289 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Thu, 13 Mar 2025 09:33:33 +0100 Subject: [PATCH] [TASK] Add native type declarations in `URL` Part of #811 --- CHANGELOG.md | 2 +- src/Value/URL.php | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 716779c7..1db80aff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,7 +34,7 @@ Please also have a look at our - Use more native type declarations and strict mode (#641, #772, #774, #778, #804, #841, #873, #875, #891, #922, #923, #933, #958, #964, #967, #1000, #1044, #1134, #1136, #1137, #1139, #1140, #1141, #1145, - #1162) + #1162, #1163) - Add visibility to all class/interface constants (#469) ### Deprecated diff --git a/src/Value/URL.php b/src/Value/URL.php index 5a122ff3..f9bc9e8a 100644 --- a/src/Value/URL.php +++ b/src/Value/URL.php @@ -68,10 +68,7 @@ public function setURL(CSSString $url): void $this->url = $url; } - /** - * @return CSSString - */ - public function getURL() + public function getURL(): CSSString { return $this->url; }