Skip to content

Commit c226c04

Browse files
authored
[TASK] Add native type declarations in URL (#1163)
Part of #811
1 parent 6a09851 commit c226c04

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Please also have a look at our
3434
- Use more native type declarations and strict mode
3535
(#641, #772, #774, #778, #804, #841, #873, #875, #891, #922, #923, #933, #958,
3636
#964, #967, #1000, #1044, #1134, #1136, #1137, #1139, #1140, #1141, #1145,
37-
#1162)
37+
#1162, #1163)
3838
- Add visibility to all class/interface constants (#469)
3939

4040
### Deprecated

src/Value/URL.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,7 @@ public function setURL(CSSString $url): void
6868
$this->url = $url;
6969
}
7070

71-
/**
72-
* @return CSSString
73-
*/
74-
public function getURL()
71+
public function getURL(): CSSString
7572
{
7673
return $this->url;
7774
}

0 commit comments

Comments
 (0)