Skip to content
Permalink
Browse files

Fix: hasFragment use Strings::contains instead of Strings::startsWith

  • Loading branch information
DominikVisek authored and f3l1x committed Oct 7, 2019
1 parent 7edb2ea commit 66d1fa80e3402475e423672230866cd830b55e29
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Urls.php
@@ -7,7 +7,7 @@ class Urls

public static function hasFragment(string $url): bool
{
return Strings::startsWith($url, '#');
return Strings::contains($url, '#');
}

}

0 comments on commit 66d1fa8

Please sign in to comment.
You can’t perform that action at this time.