Skip to content

Commit

Permalink
Merge pull request #7 from josineiaraujo/patch-1
Browse files Browse the repository at this point in the history
Corrige o erro do 'exif_read_data'
  • Loading branch information
robsonvleite authored Oct 29, 2019
2 parents 3117d7e + b1c231c commit 0a85f2d
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 @@ -68,7 +68,6 @@ protected function imageCreate(array $image): bool
if ($image['type'] == "image/png") {
$this->file = imagecreatefrompng($image['tmp_name']);
$this->ext = "png";
$this->checkAngle($image);
return true;
}

Expand Down Expand Up @@ -131,4 +130,4 @@ private function checkAngle($image): void

return;
}
}
}

0 comments on commit 0a85f2d

Please sign in to comment.