Fixed array bracket indenting

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-02-06 12:39:38 -08:00
parent ab6ca0e066
commit 8841f04333

View file

@ -114,8 +114,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('accessories', Route::resource('accessories',
Api\AccessoriesController::class, Api\AccessoriesController::class,
['names' => ['names' => [
[
'index' => 'api.accessories.index', 'index' => 'api.accessories.index',
'show' => 'api.accessories.show', 'show' => 'api.accessories.show',
'update' => 'api.accessories.update', 'update' => 'api.accessories.update',
@ -144,8 +143,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('categories', Route::resource('categories',
Api\CategoriesController::class, Api\CategoriesController::class,
['names' => ['names' => [
[
'index' => 'api.categories.index', 'index' => 'api.categories.index',
'show' => 'api.categories.show', 'show' => 'api.categories.show',
'update' => 'api.categories.update', 'update' => 'api.categories.update',
@ -173,8 +171,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('companies', Route::resource('companies',
Api\CompaniesController::class, Api\CompaniesController::class,
['names' => ['names' => [
[
'index' => 'api.companies.index', 'index' => 'api.companies.index',
'show' => 'api.companies.show', 'show' => 'api.companies.show',
'update' => 'api.companies.update', 'update' => 'api.companies.update',
@ -203,8 +200,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('departments', Route::resource('departments',
Api\DepartmentsController::class, Api\DepartmentsController::class,
['names' => ['names' => [
[
'index' => 'api.departments.index', 'index' => 'api.departments.index',
'show' => 'api.departments.show', 'show' => 'api.departments.show',
'update' => 'api.departments.update', 'update' => 'api.departments.update',
@ -254,8 +250,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('components', Route::resource('components',
Api\ComponentsController::class, Api\ComponentsController::class,
['names' => ['names' => [
[
'index' => 'api.components.index', 'index' => 'api.components.index',
'show' => 'api.components.show', 'show' => 'api.components.show',
'update' => 'api.components.update', 'update' => 'api.components.update',
@ -308,8 +303,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('consumables', Route::resource('consumables',
Api\ConsumablesController::class, Api\ConsumablesController::class,
['names' => ['names' => [
[
'index' => 'api.consumables.index', 'index' => 'api.consumables.index',
'show' => 'api.consumables.show', 'show' => 'api.consumables.show',
'update' => 'api.consumables.update', 'update' => 'api.consumables.update',
@ -328,8 +322,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
*/ */
Route::resource('depreciations', Route::resource('depreciations',
Api\DepreciationsController::class, Api\DepreciationsController::class,
['names' => ['names' => [
[
'index' => 'api.depreciations.index', 'index' => 'api.depreciations.index',
'show' => 'api.depreciations.show', 'show' => 'api.depreciations.show',
'update' => 'api.depreciations.update', 'update' => 'api.depreciations.update',
@ -416,8 +409,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('fieldsets', Route::resource('fieldsets',
Api\CustomFieldsetsController::class, Api\CustomFieldsetsController::class,
['names' => ['names' => [
[
'index' => 'api.fieldsets.index', 'index' => 'api.fieldsets.index',
'show' => 'api.fieldsets.show', 'show' => 'api.fieldsets.show',
'update' => 'api.fieldsets.update', 'update' => 'api.fieldsets.update',
@ -436,8 +428,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
*/ */
Route::resource('groups', Route::resource('groups',
Api\GroupsController::class, Api\GroupsController::class,
['names' => ['names' => [
[
'index' => 'api.groups.index', 'index' => 'api.groups.index',
'show' => 'api.groups.show', 'show' => 'api.groups.show',
'update' => 'api.groups.update', 'update' => 'api.groups.update',
@ -549,8 +540,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('hardware', Route::resource('hardware',
Api\AssetsController::class, Api\AssetsController::class,
['names' => ['names' => [
[
'index' => 'api.assets.index', 'index' => 'api.assets.index',
'show' => 'api.assets.show', 'show' => 'api.assets.show',
'update' => 'api.assets.update', 'update' => 'api.assets.update',
@ -567,8 +557,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
*/ */
Route::resource('maintenances', Route::resource('maintenances',
Api\AssetMaintenancesController::class, Api\AssetMaintenancesController::class,
['names' => ['names' => [
[
'index' => 'api.maintenances.index', 'index' => 'api.maintenances.index',
'show' => 'api.maintenances.show', 'show' => 'api.maintenances.show',
'update' => 'api.maintenances.update', 'update' => 'api.maintenances.update',
@ -597,8 +586,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('imports', Route::resource('imports',
Api\ImportController::class, Api\ImportController::class,
['names' => ['names' => [
[
'index' => 'api.imports.index', 'index' => 'api.imports.index',
'show' => 'api.imports.show', 'show' => 'api.imports.show',
'update' => 'api.imports.update', 'update' => 'api.imports.update',
@ -628,8 +616,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('licenses', Route::resource('licenses',
Api\LicensesController::class, Api\LicensesController::class,
['names' => ['names' => [
[
'index' => 'api.licenses.index', 'index' => 'api.licenses.index',
'show' => 'api.licenses.show', 'show' => 'api.licenses.show',
'update' => 'api.licenses.update', 'update' => 'api.licenses.update',
@ -644,8 +631,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('licenses.seats', Route::resource('licenses.seats',
Api\LicenseSeatsController::class, Api\LicenseSeatsController::class,
['names' => ['names' => [
[
'index' => 'api.licenses.seats.index', 'index' => 'api.licenses.seats.index',
'show' => 'api.licenses.seats.show', 'show' => 'api.licenses.seats.show',
'update' => 'api.licenses.seats.update', 'update' => 'api.licenses.seats.update',
@ -686,8 +672,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('locations', Route::resource('locations',
Api\LocationsController::class, Api\LocationsController::class,
['names' => ['names' => [
[
'index' => 'api.locations.index', 'index' => 'api.locations.index',
'show' => 'api.locations.show', 'show' => 'api.locations.show',
'update' => 'api.locations.update', 'update' => 'api.locations.update',
@ -716,8 +701,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('manufacturers', Route::resource('manufacturers',
Api\ManufacturersController::class, Api\ManufacturersController::class,
['names' => ['names' => [
[
'index' => 'api.manufacturers.index', 'index' => 'api.manufacturers.index',
'show' => 'api.manufacturers.show', 'show' => 'api.manufacturers.show',
'update' => 'api.manufacturers.update', 'update' => 'api.manufacturers.update',
@ -753,8 +737,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('models', Route::resource('models',
Api\AssetModelsController::class, Api\AssetModelsController::class,
['names' => ['names' => [
[
'index' => 'api.models.index', 'index' => 'api.models.index',
'show' => 'api.models.show', 'show' => 'api.models.show',
'update' => 'api.models.update', 'update' => 'api.models.update',
@ -833,8 +816,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('settings', Route::resource('settings',
Api\SettingsController::class, Api\SettingsController::class,
['names' => ['names' => [
[
'index' => 'api.settings.index', 'index' => 'api.settings.index',
'show' => 'api.settings.show', 'show' => 'api.settings.show',
'update' => 'api.settings.update', 'update' => 'api.settings.update',
@ -891,8 +873,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('statuslabels', Route::resource('statuslabels',
Api\StatuslabelsController::class, Api\StatuslabelsController::class,
['names' => ['names' => [
[
'index' => 'api.statuslabels.index', 'index' => 'api.statuslabels.index',
'show' => 'api.statuslabels.show', 'show' => 'api.statuslabels.show',
'update' => 'api.statuslabels.update', 'update' => 'api.statuslabels.update',
@ -921,8 +902,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('suppliers', Route::resource('suppliers',
Api\SuppliersController::class, Api\SuppliersController::class,
['names' => ['names' => [
[
'index' => 'api.suppliers.index', 'index' => 'api.suppliers.index',
'show' => 'api.suppliers.show', 'show' => 'api.suppliers.show',
'update' => 'api.suppliers.update', 'update' => 'api.suppliers.update',
@ -1015,8 +995,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::resource('users', Route::resource('users',
Api\UsersController::class, Api\UsersController::class,
['names' => ['names' => [
[
'index' => 'api.users.index', 'index' => 'api.users.index',
'show' => 'api.users.show', 'show' => 'api.users.show',
'update' => 'api.users.update', 'update' => 'api.users.update',
@ -1034,8 +1013,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
*/ */
Route::resource('kits', Route::resource('kits',
Api\PredefinedKitsController::class, Api\PredefinedKitsController::class,
['names' => ['names' => [
[
'index' => 'api.kits.index', 'index' => 'api.kits.index',
'show' => 'api.kits.show', 'show' => 'api.kits.show',
'update' => 'api.kits.update', 'update' => 'api.kits.update',