Fix StyleCI reported issues

This commit is contained in:
Jonny Barnes 2016-06-23 15:58:45 +01:00
parent 7ffe9437a3
commit 3a7f8fb647
4 changed files with 4 additions and 3 deletions

View file

@ -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(),

View file

@ -15,6 +15,7 @@ class NotesAdminController extends Controller
{
$this->noteService = $noteService ?? new NoteService();
}
/**
* Show the form to make a new note.
*

View file

@ -45,8 +45,8 @@ class SendWebMentions extends Job implements ShouldQueue
$this->guzzle->post($endpoint, [
'form_params' => [
'source' => $this->note->longurl,
'target' => $url
]
'target' => $url,
],
]);
}
}

View file

@ -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
{