Skip to content

Commit

Permalink
bugfix #304
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Feb 25, 2019
1 parent 96380a2 commit 4f0d7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Url.php
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ private function setPath($path)
private static function getSuffixes()
{
if (self::$public_suffix_list === null) {
self::$public_suffix_list = (@include __DIR__.'/../resources/public_suffix_list.php') ? [];
self::$public_suffix_list = (@include __DIR__.'/../resources/public_suffix_list.php') ?: [];
}

return self::$public_suffix_list;
Expand Down

0 comments on commit 4f0d7c0

Please sign in to comment.