Upgrade to Laravel 10
This commit is contained in:
parent
c4d7dc31d5
commit
16b120bc73
142 changed files with 1676 additions and 2019 deletions
|
@ -20,21 +20,18 @@ class ProcessMedia implements ShouldQueue
|
|||
use Queueable;
|
||||
use SerializesModels;
|
||||
|
||||
/** @var string */
|
||||
protected $filename;
|
||||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*/
|
||||
public function __construct(string $filename)
|
||||
{
|
||||
$this->filename = $filename;
|
||||
public function __construct(
|
||||
protected string $filename
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
*/
|
||||
public function handle(ImageManager $manager)
|
||||
public function handle(ImageManager $manager): void
|
||||
{
|
||||
//open file
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue