Apply fixes from StyleCI (#22)

This commit is contained in:
Pig Fang 2019-03-16 17:45:41 +08:00 committed by GitHub
parent 62f545531d
commit 1c5f732c3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,8 +224,10 @@ class TextureController extends Controller
$image = ob_get_contents();
ob_end_clean();
imagedestroy($png);
return $image;
});
return response($content)->withHeaders(['content-type' => 'image/png']);
}