diff --git a/app/Jobs/ProcessWebMention.php b/app/Jobs/ProcessWebMention.php index a6e7d3a0..cd27563b 100644 --- a/app/Jobs/ProcessWebMention.php +++ b/app/Jobs/ProcessWebMention.php @@ -5,14 +5,14 @@ declare(strict_types=1); namespace App\Jobs; use App\Exceptions\RemoteContentNotFoundException; -use GuzzleHttp\Exception\GuzzleException; -use Jonnybarnes\WebmentionsParser\Exceptions\InvalidMentionException; use App\Models\{Note, WebMention}; use GuzzleHttp\Client; +use GuzzleHttp\Exception\GuzzleException; use GuzzleHttp\Exception\RequestException; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Queue\{InteractsWithQueue, SerializesModels}; +use Jonnybarnes\WebmentionsParser\Exceptions\InvalidMentionException; use Jonnybarnes\WebmentionsParser\Parser; use Mf2; diff --git a/app/Jobs/SendWebMentions.php b/app/Jobs/SendWebMentions.php index 6d1972a6..3a583563 100644 --- a/app/Jobs/SendWebMentions.php +++ b/app/Jobs/SendWebMentions.php @@ -7,14 +7,13 @@ namespace App\Jobs; use App\Models\Note; use GuzzleHttp\Client; use GuzzleHttp\Psr7\Uri; +use function GuzzleHttp\Psr7\uri_for; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; use Illuminate\Support\Str; -use function GuzzleHttp\Psr7\uri_for; - class SendWebMentions implements ShouldQueue { use InteractsWithQueue;