Update Laravel Pint, fix files in codebase

This commit is contained in:
Jonny Barnes 2023-02-16 16:57:06 +00:00
parent 672e724784
commit 6d6e719f52
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
64 changed files with 10 additions and 411 deletions

View file

@ -29,7 +29,6 @@ class ActivityStreamsService
/**
* Return the relevant data to an AS2.0 request for a particular note.
*
* @param \App\Models\Note $note
* @return \Illuminate\Http\Response
*/
public function singleNoteResponse(Note $note)

View file

@ -21,8 +21,6 @@ class BookmarkService extends Service
* Create a new Bookmark.
*
* @param array $request Data from request()->all()
* @param string|null $client
* @return Bookmark
*/
public function create(array $request, ?string $client = null): Bookmark
{
@ -76,8 +74,6 @@ class BookmarkService extends Service
/**
* Given a URL, attempt to save it to the Internet Archive.
*
* @param string $url
* @return string
*
* @throws InternetArchiveException
*/

View file

@ -13,7 +13,6 @@ class LikeService extends Service
/**
* Create a new Like.
*
* @param array $request
* @return Like $like
*/
public function create(array $request, ?string $client = null): Like

View file

@ -13,7 +13,6 @@ class HCardService
* Create a Place from h-card data, return the URL.
*
* @param array $request Data from request()->all()
* @return string
*/
public function process(array $request): string
{

View file

@ -17,7 +17,6 @@ class HEntryService
*
* @param array $request Data from request()->all()
* @param string|null $client The micropub client that made the request
* @return string|null
*/
public function process(array $request, ?string $client = null): ?string
{

View file

@ -20,8 +20,6 @@ class NoteService extends Service
* Create a new note.
*
* @param array $request Data from request()->all()
* @param string|null $client
* @return Note
*/
public function create(array $request, ?string $client = null): Note
{
@ -70,7 +68,6 @@ class NoteService extends Service
* Get the published time from the request to create a new note.
*
* @param array $request Data from request()->all()
* @return string|null
*/
private function getPublished(array $request): ?string
{
@ -89,7 +86,6 @@ class NoteService extends Service
* Get the location data from the request to create a new note.
*
* @param array $request Data from request()->all()
* @return string|null
*/
private function getLocation(array $request): ?string
{
@ -111,7 +107,6 @@ class NoteService extends Service
* Get the checkin data from the request to create a new note. This will be a Place.
*
* @param array $request Data from request()->all()
* @return Place|null
*/
private function getCheckin(array $request): ?Place
{
@ -157,7 +152,6 @@ class NoteService extends Service
* Get the Swarm URL from the syndication data in the request to create a new note.
*
* @param array $request Data from request()->all()
* @return string|null
*/
private function getSwarmUrl(array $request): ?string
{
@ -172,7 +166,6 @@ class NoteService extends Service
* Get the syndication targets from the request to create a new note.
*
* @param array $request Data from request()->all()
* @return array
*/
private function getSyndicationTargets(array $request): array
{
@ -196,7 +189,6 @@ class NoteService extends Service
* Get the media URLs from the request to create a new note.
*
* @param array $request Data from request()->all()
* @return array
*/
private function getMedia(array $request): array
{
@ -226,7 +218,6 @@ class NoteService extends Service
* Get the Instagram photo URL from the request to create a new note.
*
* @param array $request Data from request()->all()
* @return string|null
*/
private function getInstagramUrl(array $request): ?string
{

View file

@ -11,9 +11,6 @@ class PlaceService
{
/**
* Create a place.
*
* @param array $data
* @return Place
*/
public function createPlace(array $data): Place
{
@ -42,7 +39,6 @@ class PlaceService
* Create a place from a h-card checkin, for example from OwnYourSwarm.
*
* @param array
* @return Place
*/
public function createPlaceFromCheckin(array $checkin): Place
{