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
|
@ -14,8 +14,6 @@ class ClientsController extends Controller
|
|||
{
|
||||
/**
|
||||
* Show a list of known clients.
|
||||
*
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function index(): View
|
||||
{
|
||||
|
@ -26,8 +24,6 @@ class ClientsController extends Controller
|
|||
|
||||
/**
|
||||
* Show form to add a client name.
|
||||
*
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function create(): View
|
||||
{
|
||||
|
@ -36,8 +32,6 @@ class ClientsController extends Controller
|
|||
|
||||
/**
|
||||
* Process the request to adda new client name.
|
||||
*
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function store(): RedirectResponse
|
||||
{
|
||||
|
@ -51,9 +45,6 @@ class ClientsController extends Controller
|
|||
|
||||
/**
|
||||
* Show a form to edit a client name.
|
||||
*
|
||||
* @param int $clientId
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function edit(int $clientId): View
|
||||
{
|
||||
|
@ -68,9 +59,6 @@ class ClientsController extends Controller
|
|||
|
||||
/**
|
||||
* Process the request to edit a client name.
|
||||
*
|
||||
* @param int $clientId
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function update(int $clientId): RedirectResponse
|
||||
{
|
||||
|
@ -84,9 +72,6 @@ class ClientsController extends Controller
|
|||
|
||||
/**
|
||||
* Process a request to delete a client.
|
||||
*
|
||||
* @param int $clientId
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function destroy(int $clientId): RedirectResponse
|
||||
{
|
||||
|
|
|
@ -17,8 +17,6 @@ class ContactsController extends Controller
|
|||
{
|
||||
/**
|
||||
* List the currect contacts that can be edited.
|
||||
*
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function index(): View
|
||||
{
|
||||
|
@ -29,8 +27,6 @@ class ContactsController extends Controller
|
|||
|
||||
/**
|
||||
* Display the form to add a new contact.
|
||||
*
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function create(): View
|
||||
{
|
||||
|
@ -39,8 +35,6 @@ class ContactsController extends Controller
|
|||
|
||||
/**
|
||||
* Process the request to add a new contact.
|
||||
*
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function store(): RedirectResponse
|
||||
{
|
||||
|
@ -57,9 +51,6 @@ class ContactsController extends Controller
|
|||
|
||||
/**
|
||||
* Show the form to edit an existing contact.
|
||||
*
|
||||
* @param int $contactId
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function edit(int $contactId): View
|
||||
{
|
||||
|
@ -72,9 +63,6 @@ class ContactsController extends Controller
|
|||
* Process the request to edit a contact.
|
||||
*
|
||||
* @todo Allow saving profile pictures for people without homepages
|
||||
*
|
||||
* @param int $contactId
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function update(int $contactId): RedirectResponse
|
||||
{
|
||||
|
@ -101,9 +89,6 @@ class ContactsController extends Controller
|
|||
|
||||
/**
|
||||
* Process the request to delete a contact.
|
||||
*
|
||||
* @param int $contactId
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function destroy(int $contactId): RedirectResponse
|
||||
{
|
||||
|
@ -119,7 +104,6 @@ class ContactsController extends Controller
|
|||
* This method attempts to find the microformat marked-up profile image
|
||||
* from a given homepage and save it accordingly
|
||||
*
|
||||
* @param int $contactId
|
||||
* @return \Illuminate\Http\RedirectResponse|\Illuminate\View\View
|
||||
*/
|
||||
public function getAvatar(int $contactId)
|
||||
|
|
|
@ -11,8 +11,6 @@ class HomeController extends Controller
|
|||
{
|
||||
/**
|
||||
* Show the homepage of the admin CP.
|
||||
*
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function welcome(): View
|
||||
{
|
||||
|
|
|
@ -14,8 +14,6 @@ class LikesController extends Controller
|
|||
{
|
||||
/**
|
||||
* List the likes that can be edited.
|
||||
*
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function index(): View
|
||||
{
|
||||
|
@ -26,8 +24,6 @@ class LikesController extends Controller
|
|||
|
||||
/**
|
||||
* Show the form to make a new like.
|
||||
*
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function create(): View
|
||||
{
|
||||
|
@ -36,8 +32,6 @@ class LikesController extends Controller
|
|||
|
||||
/**
|
||||
* Process a request to make a new like.
|
||||
*
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function store(): RedirectResponse
|
||||
{
|
||||
|
@ -51,9 +45,6 @@ class LikesController extends Controller
|
|||
|
||||
/**
|
||||
* Display the form to edit a specific like.
|
||||
*
|
||||
* @param int $likeId
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function edit(int $likeId): View
|
||||
{
|
||||
|
@ -67,9 +58,6 @@ class LikesController extends Controller
|
|||
|
||||
/**
|
||||
* Process a request to edit a like.
|
||||
*
|
||||
* @param int $likeId
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function update(int $likeId): RedirectResponse
|
||||
{
|
||||
|
@ -83,9 +71,6 @@ class LikesController extends Controller
|
|||
|
||||
/**
|
||||
* Process the request to delete a like.
|
||||
*
|
||||
* @param int $likeId
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function destroy(int $likeId): RedirectResponse
|
||||
{
|
||||
|
|
|
@ -15,8 +15,6 @@ class NotesController extends Controller
|
|||
{
|
||||
/**
|
||||
* List the notes that can be edited.
|
||||
*
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function index(): View
|
||||
{
|
||||
|
@ -30,8 +28,6 @@ class NotesController extends Controller
|
|||
|
||||
/**
|
||||
* Show the form to make a new note.
|
||||
*
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function create(): View
|
||||
{
|
||||
|
@ -40,9 +36,6 @@ class NotesController extends Controller
|
|||
|
||||
/**
|
||||
* Process a request to make a new note.
|
||||
*
|
||||
* @param Request $request
|
||||
* @return RedirectResponse
|
||||
*/
|
||||
public function store(Request $request): RedirectResponse
|
||||
{
|
||||
|
@ -56,9 +49,6 @@ class NotesController extends Controller
|
|||
|
||||
/**
|
||||
* Display the form to edit a specific note.
|
||||
*
|
||||
* @param int $noteId
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function edit(int $noteId): View
|
||||
{
|
||||
|
@ -71,9 +61,6 @@ class NotesController extends Controller
|
|||
/**
|
||||
* Process a request to edit a note. Easy since this can only be done
|
||||
* from the admin CP.
|
||||
*
|
||||
* @param int $noteId
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function update(int $noteId): RedirectResponse
|
||||
{
|
||||
|
@ -92,9 +79,6 @@ class NotesController extends Controller
|
|||
|
||||
/**
|
||||
* Delete the note.
|
||||
*
|
||||
* @param int $noteId
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function destroy(int $noteId): RedirectResponse
|
||||
{
|
||||
|
|
|
@ -21,8 +21,6 @@ class PlacesController extends Controller
|
|||
|
||||
/**
|
||||
* List the places that can be edited.
|
||||
*
|
||||
* @return View
|
||||
*/
|
||||
public function index(): View
|
||||
{
|
||||
|
@ -33,8 +31,6 @@ class PlacesController extends Controller
|
|||
|
||||
/**
|
||||
* Show the form to make a new place.
|
||||
*
|
||||
* @return View
|
||||
*/
|
||||
public function create(): View
|
||||
{
|
||||
|
@ -43,8 +39,6 @@ class PlacesController extends Controller
|
|||
|
||||
/**
|
||||
* Process a request to make a new place.
|
||||
*
|
||||
* @return RedirectResponse
|
||||
*/
|
||||
public function store(): RedirectResponse
|
||||
{
|
||||
|
@ -62,9 +56,6 @@ class PlacesController extends Controller
|
|||
|
||||
/**
|
||||
* Display the form to edit a specific place.
|
||||
*
|
||||
* @param int $placeId
|
||||
* @return View
|
||||
*/
|
||||
public function edit(int $placeId): View
|
||||
{
|
||||
|
@ -75,9 +66,6 @@ class PlacesController extends Controller
|
|||
|
||||
/**
|
||||
* Process a request to edit a place.
|
||||
*
|
||||
* @param int $placeId
|
||||
* @return RedirectResponse
|
||||
*/
|
||||
public function update(int $placeId): RedirectResponse
|
||||
{
|
||||
|
@ -94,9 +82,6 @@ class PlacesController extends Controller
|
|||
|
||||
/**
|
||||
* List the places we can merge with the current place.
|
||||
*
|
||||
* @param int $placeId
|
||||
* @return View
|
||||
*/
|
||||
public function mergeIndex(int $placeId): View
|
||||
{
|
||||
|
@ -114,10 +99,6 @@ class PlacesController extends Controller
|
|||
|
||||
/**
|
||||
* Show a form for merging two specific places.
|
||||
*
|
||||
* @param int $placeId1
|
||||
* @param int $placeId2
|
||||
* @return View
|
||||
*/
|
||||
public function mergeEdit(int $placeId1, int $placeId2): View
|
||||
{
|
||||
|
@ -129,8 +110,6 @@ class PlacesController extends Controller
|
|||
|
||||
/**
|
||||
* Process the request to merge two places.
|
||||
*
|
||||
* @return RedirectResponse
|
||||
*/
|
||||
public function mergeStore(): RedirectResponse
|
||||
{
|
||||
|
|
|
@ -14,8 +14,6 @@ class SyndicationTargetsController extends Controller
|
|||
{
|
||||
/**
|
||||
* Show a list of known syndication targets.
|
||||
*
|
||||
* @return View
|
||||
*/
|
||||
public function index(): View
|
||||
{
|
||||
|
@ -26,8 +24,6 @@ class SyndicationTargetsController extends Controller
|
|||
|
||||
/**
|
||||
* Show form to add a syndication target.
|
||||
*
|
||||
* @return View
|
||||
*/
|
||||
public function create(): View
|
||||
{
|
||||
|
@ -36,9 +32,6 @@ class SyndicationTargetsController extends Controller
|
|||
|
||||
/**
|
||||
* Process the request to adda new syndication target.
|
||||
*
|
||||
* @param Request $request
|
||||
* @return RedirectResponse
|
||||
*/
|
||||
public function store(Request $request): RedirectResponse
|
||||
{
|
||||
|
@ -60,9 +53,6 @@ class SyndicationTargetsController extends Controller
|
|||
|
||||
/**
|
||||
* Show a form to edit a syndication target.
|
||||
*
|
||||
* @param SyndicationTarget $syndicationTarget
|
||||
* @return View
|
||||
*/
|
||||
public function edit(SyndicationTarget $syndicationTarget): View
|
||||
{
|
||||
|
@ -73,10 +63,6 @@ class SyndicationTargetsController extends Controller
|
|||
|
||||
/**
|
||||
* Process the request to edit a client name.
|
||||
*
|
||||
* @param Request $request
|
||||
* @param SyndicationTarget $syndicationTarget
|
||||
* @return RedirectResponse
|
||||
*/
|
||||
public function update(Request $request, SyndicationTarget $syndicationTarget): RedirectResponse
|
||||
{
|
||||
|
@ -98,9 +84,6 @@ class SyndicationTargetsController extends Controller
|
|||
|
||||
/**
|
||||
* Process a request to delete a client.
|
||||
*
|
||||
* @param SyndicationTarget $syndicationTarget
|
||||
* @return RedirectResponse
|
||||
*/
|
||||
public function destroy(SyndicationTarget $syndicationTarget): RedirectResponse
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue