Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
denysdesign committed Oct 18, 2022
1 parent bb29361 commit ab2cc72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ private function thumb($url, array $attr = [])
$url = trim($url);
$url = rawurldecode($url);

$_error = false;
if(strpos($url, 'http://') === 0 || strpos($url, 'https://') === 0)
{
if($this->createVideoThumb($url, true))
Expand Down Expand Up @@ -347,7 +346,7 @@ private function createThumb($url, $img_cache, $target, array $attr = [])
* @return bool|string
* @since 5.0
*/
private function createVideoThumb($url, bool $video_detect = false)
private function createVideoThumb($url, $video_detect = false)
{
$urls = parse_url($url);
if($video_detect === true)
Expand Down

0 comments on commit ab2cc72

Please sign in to comment.