Fix StyleCI reported issues
This commit is contained in:
parent
7ffe9437a3
commit
3a7f8fb647
4 changed files with 4 additions and 3 deletions
|
@ -80,6 +80,7 @@ class Handler extends ExceptionHandler
|
|||
$whoops->pushHandler($handler);
|
||||
|
||||
$flattened = FlattenException::create($exc);
|
||||
|
||||
return new \Illuminate\Http\Response(
|
||||
$whoops->handleException($exc),
|
||||
$flattened->getStatusCode(),
|
||||
|
|
|
@ -15,6 +15,7 @@ class NotesAdminController extends Controller
|
|||
{
|
||||
$this->noteService = $noteService ?? new NoteService();
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form to make a new note.
|
||||
*
|
||||
|
|
|
@ -45,8 +45,8 @@ class SendWebMentions extends Job implements ShouldQueue
|
|||
$this->guzzle->post($endpoint, [
|
||||
'form_params' => [
|
||||
'source' => $this->note->longurl,
|
||||
'target' => $url
|
||||
]
|
||||
'target' => $url,
|
||||
],
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,6 @@ use Illuminate\Http\Request;
|
|||
use App\Jobs\SendWebMentions;
|
||||
use App\Jobs\SyndicateToTwitter;
|
||||
use Illuminate\Foundation\Bus\DispatchesJobs;
|
||||
use App\Http\Controllers\WebMentionsController;
|
||||
|
||||
class NoteService
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue