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
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue