Fixes path for redirect response

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-05-29 18:01:40 +01:00
parent 3fcd196c04
commit df1cef59d5
23 changed files with 45 additions and 45 deletions

View file

@ -58,7 +58,7 @@ class AccessoriesController extends Controller
*
* @author [A. Gianotto] [<snipe@snipe.net>]
* @param ImageUploadRequest $request
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
*/
public function store(ImageUploadRequest $request)
@ -151,7 +151,7 @@ class AccessoriesController extends Controller
* @author [A. Gianotto] [<snipe@snipe.net>]
* @param ImageUploadRequest $request
* @param int $accessoryId
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
*/
public function update(ImageUploadRequest $request, $accessoryId = null)
@ -205,7 +205,7 @@ class AccessoriesController extends Controller
*
* @author [A. Gianotto] [<snipe@snipe.net>]
* @param int $accessoryId
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
*/
public function destroy($accessoryId)

View file

@ -44,7 +44,7 @@ class AccessoryCheckinController extends Controller
* @author [A. Gianotto] [<snipe@snipe.net>]
* @param null $accessoryUserId
* @param string $backto
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
* @internal param int $accessoryId
*/

View file

@ -59,7 +59,7 @@ class AccessoryCheckoutController extends Controller
* @author [A. Gianotto] [<snipe@snipe.net>]
* @param Request $request
* @param int $accessoryId
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
*/
public function store(Request $request, $accessoryId)

View file

@ -80,7 +80,7 @@ class AcceptanceController extends Controller
*
* @param Request $request
* @param int $id
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function store(Request $request, $id)
{

View file

@ -274,7 +274,7 @@ class AccessoriesController extends Controller
*
* @author [A. Gianotto] [<snipe@snipe.net>]
* @param int $accessoryId
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function checkout(Request $request, $accessoryId)
{
@ -320,7 +320,7 @@ class AccessoriesController extends Controller
* @param Request $request
* @param int $accessoryUserId
* @param string $backto
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @internal param int $accessoryId
*/
public function checkin(Request $request, $accessoryUserId = null)

View file

@ -179,7 +179,7 @@ class CustomFieldsController extends Controller
*
* @author [Brady Wetherington] [<uberbrady@gmail.com>]
* @since [v1.8]
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function destroy($field_id)
{

View file

@ -118,7 +118,7 @@ class CustomFieldsetsController extends Controller
*
* @author [A. Gianotto] [<snipe@snipe.net>]
* @since [v4.0]
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function destroy($id)
{

View file

@ -66,7 +66,7 @@ class AssetModelsController extends Controller
* @author [A. Gianotto] [<snipe@snipe.net>]
* @since [v1.0]
* @param ImageUploadRequest $request
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
*/
public function store(ImageUploadRequest $request)
@ -139,7 +139,7 @@ class AssetModelsController extends Controller
* @since [v1.0]
* @param ImageUploadRequest $request
* @param int $modelId
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
*/
public function update(ImageUploadRequest $request, $modelId = null)
@ -200,7 +200,7 @@ class AssetModelsController extends Controller
* @author [A. Gianotto] [<snipe@snipe.net>]
* @since [v1.0]
* @param int $modelId
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
*/
public function destroy($modelId)
@ -237,7 +237,7 @@ class AssetModelsController extends Controller
* @author [A. Gianotto] [<snipe@snipe.net>]
* @since [v1.0]
* @param int $id
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
*/
public function getRestore($id)
@ -429,7 +429,7 @@ class AssetModelsController extends Controller
* @author [A. Gianotto] [<snipe@snipe.net>]
* @since [v1.0]
* @param int $modelId
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function postBulkDelete(Request $request)
{

View file

@ -16,7 +16,7 @@ class AssetModelsFilesController extends Controller
*
* @param UploadFileRequest $request
* @param int $modelId
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
*@since [v1.0]
* @author [A. Gianotto] [<snipe@snipe.net>]

View file

@ -56,7 +56,7 @@ class AssetCheckinController extends Controller
* @param AssetCheckinRequest $request
* @param int $assetId
* @param null $backto
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
* @since [v1.0]
*/

View file

@ -47,7 +47,7 @@ class AssetCheckoutController extends Controller
* @author [A. Gianotto] [<snipe@snipe.net>]
* @param AssetCheckoutRequest $request
* @param int $assetId
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @since [v1.0]
*/
public function store(AssetCheckoutRequest $request, $assetId)

View file

@ -17,7 +17,7 @@ class AssetFilesController extends Controller
*
* @param UploadFileRequest $request
* @param int $assetId
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
*@since [v1.0]
* @author [A. Gianotto] [<snipe@snipe.net>]

View file

@ -96,7 +96,7 @@ class AssetsController extends Controller
*
* @author [A. Gianotto] [<snipe@snipe.net>]
* @since [v1.0]
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function store(ImageUploadRequest $request)
{
@ -411,7 +411,7 @@ class AssetsController extends Controller
* @author [A. Gianotto] [<snipe@snipe.net>]
* @param int $assetId
* @since [v1.0]
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function destroy($assetId)
{
@ -445,7 +445,7 @@ class AssetsController extends Controller
*
* @author [A. Gianotto] [<snipe@snipe.net>]
* @since [v3.0]
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function getAssetBySerial(Request $request)
{
@ -463,7 +463,7 @@ class AssetsController extends Controller
*
* @author [A. Gianotto] [<snipe@snipe.net>]
* @since [v3.0]
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function getAssetByTag(Request $request, $tag=null)
{

View file

@ -261,7 +261,7 @@ class LoginController extends Controller
/**
* Account sign in form processing.
*
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function login(Request $request)
{
@ -339,7 +339,7 @@ class LoginController extends Controller
/**
* Two factor enrollment page
*
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function getTwoFactorEnroll()
{
@ -389,7 +389,7 @@ class LoginController extends Controller
/**
* Two factor code form page
*
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function getTwoFactorAuth()
{
@ -415,7 +415,7 @@ class LoginController extends Controller
*
* @param Request $request
*
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function postTwoFactorAuth(Request $request)
{

View file

@ -71,7 +71,7 @@ class SamlController extends Controller
*
* @param Request $request
*
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function login(Request $request)
{
@ -93,7 +93,7 @@ class SamlController extends Controller
*
* @param Request $request
*
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function acs(Request $request)
{
@ -126,7 +126,7 @@ class SamlController extends Controller
*
* @param Request $request
*
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function sls(Request $request)
{

View file

@ -105,7 +105,7 @@ class BulkAssetModelsController extends Controller
*
* @author [A. Gianotto] [<snipe@snipe.net>]
* @since [v1.0]
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function destroy(Request $request)
{

View file

@ -86,7 +86,7 @@ class CustomFieldsetsController extends Controller
* @author [Brady Wetherington] [<uberbrady@gmail.com>]
* @since [v1.8]
* @param Request $request
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
*/
public function store(Request $request)
@ -126,7 +126,7 @@ class CustomFieldsetsController extends Controller
* @author [A. Gianotto] [<snipe@snipe.net>]
* @param int $id
* @since [v6.0.14]
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
*/
public function edit($id)
@ -147,7 +147,7 @@ class CustomFieldsetsController extends Controller
* @author [A. Gianotto] [<snipe@snipe.net>]
* @param int $id
* @since [v6.0.14]
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
*/
public function update(Request $request, $id)

View file

@ -48,7 +48,7 @@ class CheckoutKitController extends Controller
* Validate and process the new Predefined Kit data.
*
* @author [D. Minaev.] [<dmitriy.minaev.v@gmail.com>]
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function store(Request $request, $kit_id)
{

View file

@ -47,7 +47,7 @@ class PredefinedKitsController extends Controller
* Validate and process the new Predefined Kit data.
*
* @author [D. Minaev] [<dmitriy.minaev.v@gmail.com>]
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function store(ImageUploadRequest $request)
{
@ -95,7 +95,7 @@ class PredefinedKitsController extends Controller
* @author [D. Minaev] [<dmitriy.minaev.v@gmail.com>]
* @since [v1.0]
* @param int $kit_id
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function update(ImageUploadRequest $request, $kit_id = null)
{
@ -122,7 +122,7 @@ class PredefinedKitsController extends Controller
* @author [D. Minaev] [<dmitriy.minaev.v@gmail.com>]
* @since [v1.0]
* @param int $kit_id
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function destroy($kit_id)
{

View file

@ -220,7 +220,7 @@ class ManufacturersController extends Controller
* @author [A. Gianotto] [<snipe@snipe.net>]
* @since [v4.1.15]
* @param int $manufacturers_id
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
* @throws \Illuminate\Auth\Access\AuthorizationException
*/
public function restore($id)

View file

@ -108,7 +108,7 @@ class ProfileController extends Controller
/**
* Users change password form processing page.
*
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function passwordSave(Request $request)
{

View file

@ -162,7 +162,7 @@ class SettingsController extends Controller
*
* @since [v3.0]
*
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function postSaveFirstAdmin(SetupUserRequest $request)
{
@ -1132,7 +1132,7 @@ class SettingsController extends Controller
*
* @since [v1.8]
*
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function postBackups()
{
@ -1231,7 +1231,7 @@ class SettingsController extends Controller
*
* @since [v6.0]
*
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function postUploadBackup(Request $request) {
@ -1432,7 +1432,7 @@ class SettingsController extends Controller
*
* @since [v3.0]
*
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function ajaxTestEmail()
{

View file

@ -25,7 +25,7 @@ class ViewAssetsController extends Controller
/**
* Redirect to the profile page.
*
* @return Redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function getIndex()
{