Upgrade to Laravel 10

This commit is contained in:
Jonny Barnes 2023-02-18 09:34:57 +00:00
parent c4d7dc31d5
commit 16b120bc73
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
142 changed files with 1676 additions and 2019 deletions

View file

@ -22,20 +22,17 @@ class SendWebMentions implements ShouldQueue
use Queueable;
use SerializesModels;
protected Note $note;
/**
* Create the job instance, inject dependencies.
* Create a new job instance.
*/
public function __construct(Note $note)
{
$this->note = $note;
public function __construct(
protected Note $note
) {
}
/**
* Execute the job.
*
*
* @throws GuzzleException
*/
public function handle(): void
@ -60,7 +57,6 @@ class SendWebMentions implements ShouldQueue
/**
* Discover if a URL has a webmention endpoint.
*
*
* @throws GuzzleException
*/
public function discoverWebmentionEndpoint(string $url): ?string
@ -126,8 +122,6 @@ class SendWebMentions implements ShouldQueue
/**
* Resolve a URI if necessary.
*
* @param string $base The base of the URL
*/
public function resolveUri(string $url, string $base): string
{