From 2ed4cc93a16588abef3bae0cd88717124bff6080 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 27 Oct 2019 19:34:54 +0000 Subject: [PATCH] Apply fixes from StyleCI --- app/Jobs/ProcessWebMention.php | 4 ++-- app/Jobs/SendWebMentions.php | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) 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;