Skip to content

Commit

Permalink
Remove deprecated method FeaturedImage::isRemote()
Browse files Browse the repository at this point in the history
Tie in with #1788
  • Loading branch information
caendesilva committed Jul 23, 2024
1 parent da5ef06 commit fe15b10
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use Hyde\Facades\Config;
use Illuminate\Support\Str;
use Hyde\Support\BuildWarnings;
use JetBrains\PhpStorm\Deprecated;
use Illuminate\Support\Facades\Http;
use Hyde\Foundation\Kernel\Hyperlinks;
use Hyde\Framework\Exceptions\FileNotFoundException;
Expand Down Expand Up @@ -241,15 +240,4 @@ protected function getContentLengthForRemoteImage(): int

return 0;
}

/**
* @codeCoverageIgnore Deprecated method.
*
* @deprecated This method will be removed in v2.0. Please use `Hyperlinks::isRemote` instead.
*/
#[Deprecated(reason: 'Replaced by the \Hyde\Foundation\Kernel\Hyperlinks::isRemote method', replacement: '\Hyde\Foundation\Kernel\Hyperlinks::isRemote(%parametersList%)', since: '1.8.0')]
public static function isRemote(string $source): bool
{
return Hyperlinks::isRemote($source);
}
}

0 comments on commit fe15b10

Please sign in to comment.