We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 774ec5e commit 6fb71beCopy full SHA for 6fb71be
app/Jobs/GenerateSocialShareImage.php
@@ -3,6 +3,7 @@
3
namespace App\Jobs;
4
5
use App\Models\Article;
6
+use Illuminate\Http\Response;
7
use Intervention\Image\Drivers\Gd\Driver;
8
use Intervention\Image\ImageManager;
9
@@ -24,7 +25,7 @@ final class GenerateSocialShareImage
24
25
26
public function __construct(private Article $article) {}
27
- public function handle(): mixed
28
+ public function handle(): Response
29
{
30
$image = new ImageManager(new Driver);
31
$text = wordwrap($this->article->title(), self::CHARACTERS_PER_LINE);
0 commit comments