Skip to content

Commit

Permalink
fix: UrlParser only accepts strings
Browse files Browse the repository at this point in the history
  • Loading branch information
JaZo committed Mar 14, 2024
1 parent 6392a20 commit 6819a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parsers/UrlParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class UrlParser
'n.v.t',
];

public function parse(?string $url): ?string
public function parse(string $url): ?string
{
if (in_array($url, self::EMPTY_VALUES, true)) {
return null;
Expand Down

0 comments on commit 6819a74

Please sign in to comment.