Update Laravel Pint, fix files in codebase
This commit is contained in:
parent
672e724784
commit
6d6e719f52
64 changed files with 10 additions and 411 deletions
|
@ -22,8 +22,6 @@ class AddClientToDatabase implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @param string $client_id
|
||||
*/
|
||||
public function __construct(string $client_id)
|
||||
{
|
||||
|
|
|
@ -28,8 +28,6 @@ class DownloadWebMention implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @param string $source
|
||||
*/
|
||||
public function __construct(string $source)
|
||||
{
|
||||
|
@ -39,7 +37,6 @@ class DownloadWebMention implements ShouldQueue
|
|||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @param Client $guzzle
|
||||
*
|
||||
* @throws GuzzleException
|
||||
* @throws FileNotFoundException
|
||||
|
@ -82,7 +79,6 @@ class DownloadWebMention implements ShouldQueue
|
|||
/**
|
||||
* Create a file path from a URL. This is used when caching the HTML response.
|
||||
*
|
||||
* @param string $url
|
||||
* @return string The path name
|
||||
*/
|
||||
private function createFilenameFromURL(string $url)
|
||||
|
|
|
@ -24,8 +24,6 @@ class ProcessBookmark implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @param Bookmark $bookmark
|
||||
*/
|
||||
public function __construct(Bookmark $bookmark)
|
||||
{
|
||||
|
@ -34,8 +32,6 @@ class ProcessBookmark implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function handle(): void
|
||||
{
|
||||
|
|
|
@ -30,8 +30,6 @@ class ProcessLike implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @param Like $like
|
||||
*/
|
||||
public function __construct(Like $like)
|
||||
{
|
||||
|
@ -41,9 +39,6 @@ class ProcessLike implements ShouldQueue
|
|||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @param Client $client
|
||||
* @param Authorship $authorship
|
||||
* @return int
|
||||
*
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
|
@ -104,9 +99,6 @@ class ProcessLike implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Determine if a given URL is that of a Tweet.
|
||||
*
|
||||
* @param string $url
|
||||
* @return bool
|
||||
*/
|
||||
private function isTweet(string $url): bool
|
||||
{
|
||||
|
|
|
@ -25,8 +25,6 @@ class ProcessMedia implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @param string $filename
|
||||
*/
|
||||
public function __construct(string $filename)
|
||||
{
|
||||
|
@ -35,8 +33,6 @@ class ProcessMedia implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @param ImageManager $manager
|
||||
*/
|
||||
public function handle(ImageManager $manager)
|
||||
{
|
||||
|
|
|
@ -32,9 +32,6 @@ class ProcessWebMention implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @param Note $note
|
||||
* @param string $source
|
||||
*/
|
||||
public function __construct(Note $note, string $source)
|
||||
{
|
||||
|
@ -45,8 +42,6 @@ class ProcessWebMention implements ShouldQueue
|
|||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @param Parser $parser
|
||||
* @param Client $guzzle
|
||||
*
|
||||
* @throws RemoteContentNotFoundException
|
||||
* @throws GuzzleException
|
||||
|
|
|
@ -24,8 +24,6 @@ class SaveProfileImage implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @param array $microformats
|
||||
*/
|
||||
public function __construct(array $microformats)
|
||||
{
|
||||
|
@ -34,8 +32,6 @@ class SaveProfileImage implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @param Authorship $authorship
|
||||
*/
|
||||
public function handle(Authorship $authorship)
|
||||
{
|
||||
|
|
|
@ -33,7 +33,6 @@ class SaveScreenshot implements ShouldQueue
|
|||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws JsonException
|
||||
*/
|
||||
|
|
|
@ -26,8 +26,6 @@ class SendWebMentions implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Create the job instance, inject dependencies.
|
||||
*
|
||||
* @param Note $note
|
||||
*/
|
||||
public function __construct(Note $note)
|
||||
{
|
||||
|
@ -37,7 +35,6 @@ class SendWebMentions implements ShouldQueue
|
|||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
|
@ -63,8 +60,6 @@ class SendWebMentions implements ShouldQueue
|
|||
/**
|
||||
* Discover if a URL has a webmention endpoint.
|
||||
*
|
||||
* @param string $url
|
||||
* @return string|null
|
||||
*
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
|
@ -111,9 +106,6 @@ class SendWebMentions implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Get the URLs from a note.
|
||||
*
|
||||
* @param string|null $html
|
||||
* @return array
|
||||
*/
|
||||
public function getLinks(?string $html): array
|
||||
{
|
||||
|
@ -135,9 +127,7 @@ class SendWebMentions implements ShouldQueue
|
|||
/**
|
||||
* Resolve a URI if necessary.
|
||||
*
|
||||
* @param string $url
|
||||
* @param string $base The base of the URL
|
||||
* @return string
|
||||
*/
|
||||
public function resolveUri(string $url, string $base): string
|
||||
{
|
||||
|
|
|
@ -25,8 +25,6 @@ class SyndicateBookmarkToTwitter implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @param Bookmark $bookmark
|
||||
*/
|
||||
public function __construct(Bookmark $bookmark)
|
||||
{
|
||||
|
@ -36,7 +34,6 @@ class SyndicateBookmarkToTwitter implements ShouldQueue
|
|||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @param Client $guzzle
|
||||
*
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
|
|
|
@ -20,7 +20,6 @@ class SyndicateNoteToMastodon implements ShouldQueue
|
|||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @param Note $note
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(
|
||||
|
@ -31,8 +30,6 @@ class SyndicateNoteToMastodon implements ShouldQueue
|
|||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @param Client $guzzle
|
||||
* @return void
|
||||
*
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
|
|
|
@ -23,8 +23,6 @@ class SyndicateNoteToTwitter implements ShouldQueue
|
|||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @param Note $note
|
||||
*/
|
||||
public function __construct(Note $note)
|
||||
{
|
||||
|
@ -34,7 +32,6 @@ class SyndicateNoteToTwitter implements ShouldQueue
|
|||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @param Client $guzzle
|
||||
*
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue