A free open source IT asset/license management system
Some phpstan cleanup, cleaned up orphaned comments from the builder move
snipe22cfa1c19930
diff --git a/_ide_helper_models.php b/_ide_helper_models.phpindex 14eb7d865a..b093fc91f5 100644--- a/_ide_helper_models.php+++ b/_ide_helper_models.php@@ -303,12 +303,13 @@ namespace App\Models{** @version v1.0* @property ?int $location_id- * @property Carbon|string|null $next_audit_date- * @property Carbon|string|null $last_audit_date- * @property Carbon|string|null $asset_eol_date+ * @property \Carbon\Carbon|string|null $next_audit_date+ * @property \Carbon\Carbon|string|null $last_audit_date+ * @property \Carbon\Carbon|string|null $asset_eol_date* @property ?int $company_id- * @property Carbon|string|null $last_checkin+ * @property \Carbon\Carbon|string|null $last_checkin* @property bool $requestable+ * @property Asset|Location|User|null $assigned Current checkout target. morphTo relation named `assigned` (declared on method `assignedTo()`). Eloquent resolves the dynamic property by the morphTo name arg, not the method name, so this `@property` is distinct from `@property ... $assignedTo` written by ide-helper.* @property int $id* @property string|null $name* @property string|null $asset_tag@@ -910,7 +911,7 @@ namespace App\Models{namespace App\Models{/**- * @property CheckoutRequestState $state+ * @property \App\Enums\CheckoutRequestState $state* @property int $id* @property int $user_id* @property int $requestable_iddiff --git a/app/Console/Commands/CleanOldCheckoutRequests.php b/app/Console/Commands/CleanOldCheckoutRequests.phpindex 7ffd7bd313..d7bd125597 100644--- a/app/Console/Commands/CleanOldCheckoutRequests.php+++ b/app/Console/Commands/CleanOldCheckoutRequests.php@@ -72,7 +72,7 @@ class CleanOldCheckoutRequests extends Commandprivate function shouldSoftDelete(CheckoutRequest $request){- /** @var \Illuminate\Database\Eloquent\Model&object{trashed(): bool} $requestable */+ /** @var \Illuminate\Database\Eloquent\Model $requestable */$requestable = $request->requestable;/** @var \App\Models\User $user */$user = $request->user;diff --git a/app/Console/Commands/RestoreFromBackup.php b/app/Console/Commands/RestoreFromBackup.phpindex 61bbd68e44..decc3dbacd 100644--- a/app/Console/Commands/RestoreFromBackup.php+++ b/app/Console/Commands/RestoreFromBackup.php@@ -4,6 +4,7 @@ namespace App\Console\Commands;use App\Enums\FileStorage;use enshrined\svgSanitize\Sanitizer;+use Exception;use Illuminate\Console\Command;use Illuminate\Support\Facades\Log;use ZipArchive;@@ -139,7 +140,7 @@ class SQLStreamer{$bytes_read = 0;if (! $this->input) {- throw new \Exception('No Input available for line_aware_piping');+ throw new Exception('No Input available for line_aware_piping');}while (($buffer = fgets($this->input, SQLStreamer::$buffer_size)) !== false) {@@ -151,7 +152,7 @@ class SQLStreamer$bytes_written = fwrite($this->output, $cleaned_buffer);if ($bytes_written === false) {- throw new \Exception('Unable to write to pipe');+ throw new Exception('Unable to write to pipe');}}}diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.phpindex ea9ba44af6..483fd8bc8f 100644--- a/app/Exceptions/Handler.php+++ b/app/Exceptions/Handler.php@@ -30,7 +30,7 @@ class Handler extends ExceptionHandler/*** A list of the exception types that are not reported.*- * @var array+ * @var array<int, class-string<\Throwable>>*/protected $dontReport = [AuthenticationException::class,@@ -268,7 +268,7 @@ class Handler extends ExceptionHandler/*** A list of the inputs that are never flashed for validation exceptions.*- * @var array+ * @var array<int, string>*/protected $dontFlash = ['current_password',diff --git a/app/Helpers/Helper.php b/app/Helpers/Helper.phpindex 9c1511a716..f02f4ebd79 100644--- a/app/Helpers/Helper.php+++ b/app/Helpers/Helper.php@@ -151,7 +151,7 @@ class Helper*/public static function paginateCollectionOrAll(Collection $items, ?int $cap = null): LengthAwarePaginator{- if (!request()->boolean('all')) {+ if (! request()->boolean('all')) {return self::paginateCollection($items);}@@ -868,7 +868,7 @@ class Helper$deprecations = ['ms_teams_deprecated' => ['check' => ! Str::contains(Setting::getSettings()->webhook_endpoint, 'workflows') && (Setting::getSettings()->webhook_selected === 'microsoft'),- 'message' => 'The Microsoft Teams webhook URL being used will be deprecated Dec 31st, 2025. <a class="btn btn-primary" href="' . route('settings.integrations.index') . '">Change webhook endpoint</a>',+ 'message' => 'The Microsoft Teams webhook URL being used will be deprecated Dec 31st, 2025. <a class="btn btn-primary" href="'.route('settings.integrations.index').'">Change webhook endpoint</a>',],];@@ -1053,7 +1053,7 @@ class Helper** @since [v3.0]*- * @param File $file+ * @param string $file* @return string | bool*/public static function checkUploadIsImage($file)@@ -1072,7 +1072,7 @@ class Helper/*** Check if the file is a video, so we can show a preview*- * @param File $file+ * @param string $file* @return string | bool** @author [B. Wetherington] [<[email protected]>]@@ -1095,7 +1095,7 @@ class Helper/*** Check if the file is audio, so we can show a preview*- * @param File $file+ * @param string $file* @return string | bool** @author [A. Gianotto] [<[email protected]>]@@ -1875,7 +1875,7 @@ class Helper// Reject scheme-only URLs with no authority (e.g. "https:evil.com",// "https:/evil.com", "http:@evil.com").- if (isset($parts['scheme']) && !isset($parts['host'])) {+ if (isset($parts['scheme']) && ! isset($parts['host'])) {return null;}diff --git a/app/Http/Controllers/Accessories/AccessoriesController.php b/app/Http/Controllers/Accessories/AccessoriesController.phpindex 338bbc00fa..6a214c7d6d 100755--- a/app/Http/Controllers/Accessories/AccessoriesController.php+++ b/app/Http/Controllers/Accessories/AccessoriesController.php@@ -120,8 +120,6 @@ class AccessoriesController extends Controller* Return view for the Accessory update form, prepopulated with existing data** @author [A. Gianotto] [<[email protected]>]- *- * @param int $accessoryId*/public function edit(Accessory $accessory): View|RedirectResponse{@@ -138,8 +136,6 @@ class AccessoriesController extends Controller** @author [J. Vinsmoke]*- * @param int $accessoryId- ** @since [v6.0]*/public function getClone(Accessory $accessory): View|RedirectResponse@@ -179,8 +175,6 @@ class AccessoriesController extends Controller* Save edited Accessory from form post** @author [A. Gianotto] [<[email protected]>]- *- * @param int $accessoryId*/public function update(ImageUploadRequest $request, Accessory $accessory): RedirectResponse{@@ -238,8 +232,6 @@ class AccessoriesController extends Controller* Delete the given accessory.** @author [A. Gianotto] [<[email protected]>]- *- * @param int $accessoryId*/public function destroy(Accessory $accessory): RedirectResponse{@@ -266,8 +258,6 @@ class AccessoriesController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $accessoryID- ** @see AccessoriesController::getDataView() method that generates the JSON response* @since [v1.0]*/diff --git a/app/Http/Controllers/Accessories/AccessoryCheckoutController.php b/app/Http/Controllers/Accessories/AccessoryCheckoutController.phpindex 43039acb5c..5bad8d64d5 100644--- a/app/Http/Controllers/Accessories/AccessoryCheckoutController.php+++ b/app/Http/Controllers/Accessories/AccessoryCheckoutController.php@@ -28,8 +28,6 @@ class AccessoryCheckoutController extends Controller* Return the form to checkout an Accessory to a user.** @author [A. Gianotto] [<[email protected]>]- *- * @param int $id*/public function create(Request $request, Accessory $accessory): View|RedirectResponse{diff --git a/app/Http/Controllers/Api/AccessoriesController.php b/app/Http/Controllers/Api/AccessoriesController.phpindex afb1f47bc2..9b01c48af7 100644--- a/app/Http/Controllers/Api/AccessoriesController.php+++ b/app/Http/Controllers/Api/AccessoriesController.php@@ -265,7 +265,7 @@ class AccessoriesController extends Controller* @since [v4.0]** @param int $id- * @return | array+ * @return array<string, mixed>*/public function checkedout(Request $request, $id){@@ -404,7 +404,6 @@ class AccessoriesController extends Controller* If Slack is enabled and/or asset acceptance is enabled, it will also* trigger a Slack message and send an email.*- * @param int $accessoryId* @return JsonResponse** @author [A. Gianotto] [<[email protected]>]@@ -485,7 +484,6 @@ class AccessoriesController extends Controller* Check in the item so that it can be checked out again to someone else** @param int $accessoryUserId- * @param string $backto* @return JsonResponse** @uses Accessory::checkin_email() to determine if an email can and should be sentdiff --git a/app/Http/Controllers/Api/AssetsController.php b/app/Http/Controllers/Api/AssetsController.phpindex c2eddd58e7..9b9b195fc2 100644--- a/app/Http/Controllers/Api/AssetsController.php+++ b/app/Http/Controllers/Api/AssetsController.php@@ -60,8 +60,6 @@ class AssetsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $assetId- ** @since [v4.0]*/public function index(FilterRequest $request, $action = null, $upcoming_status = null): JsonResponse|array@@ -623,8 +621,6 @@ class AssetsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $assetId- ** @since [v4.0]** @return JsonResponse@@ -1275,8 +1271,6 @@ class AssetsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $assetId- ** @since [v4.0]*/public function destroy($id): JsonResponse@@ -1359,8 +1353,6 @@ class AssetsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $assetId- ** @since [v4.0]*/public function checkout(AssetCheckoutRequest $request, $asset_id): JsonResponse@@ -1475,8 +1467,6 @@ class AssetsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $assetId- ** @since [v4.0]*/public function checkin(Request $request, $asset_id): JsonResponse@@ -1491,7 +1481,7 @@ class AssetsController extends Controller->lockForUpdate()->first();- if (!$locked) {+ if (! $locked) {return ['status' => 'already_checked_in', 'asset' => $asset];}@@ -1528,7 +1518,7 @@ class AssetsController extends Controller$locked->status_id = $request->input('status_id');}- $checkin_at = $request->filled('checkin_at') ? $request->input('checkin_at') . ' ' . date('H:i:s') : date('Y-m-d H:i:s');+ $checkin_at = $request->filled('checkin_at') ? $request->input('checkin_at').' '.date('H:i:s') : date('Y-m-d H:i:s');$originalValues = $locked->getRawOriginal();if (($request->filled('checkin_at')) && ($request->input('checkin_at') != date('Y-m-d'))) {@@ -1553,7 +1543,7 @@ class AssetsController extends Controller$acceptance->delete();});- if (!$locked->save()) {+ if (! $locked->save()) {return ['status' => 'save_failed', 'asset' => $locked];}@@ -1655,8 +1645,6 @@ class AssetsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $id- ** @since [v4.0]*/public function audit(UploadFileRequest $request, ?Asset $asset = null): JsonResponsediff --git a/app/Http/Controllers/Api/CategoriesController.php b/app/Http/Controllers/Api/CategoriesController.phpindex 17c1250913..80484964de 100644--- a/app/Http/Controllers/Api/CategoriesController.php+++ b/app/Http/Controllers/Api/CategoriesController.php@@ -230,7 +230,6 @@ class CategoriesController extends Controller** @since [v4.0]*- * @param int $id* @return Response*/public function destroy(Category $category): JsonResponsediff --git a/app/Http/Controllers/Api/ComponentsController.php b/app/Http/Controllers/Api/ComponentsController.phpindex 330c2719ba..1b651718df 100644--- a/app/Http/Controllers/Api/ComponentsController.php+++ b/app/Http/Controllers/Api/ComponentsController.php@@ -338,8 +338,6 @@ class ComponentsController extends Controller* @author [A. Bergamasco] [@vjandrea]** @since [v4.0]- *- * @param int $id*/public function getAssets(Component $component, Request $request): array{diff --git a/app/Http/Controllers/Api/CustomFieldsController.php b/app/Http/Controllers/Api/CustomFieldsController.phpindex 9ba098bc24..5e7b4bc849 100644--- a/app/Http/Controllers/Api/CustomFieldsController.php+++ b/app/Http/Controllers/Api/CustomFieldsController.php@@ -18,8 +18,6 @@ class CustomFieldsController extends Controller** @author [Brady Wetherington] [<[email protected]>]*- * @param int $id- ** @since [v3.0]*/public function index(): arraydiff --git a/app/Http/Controllers/Api/CustomFieldsetsController.php b/app/Http/Controllers/Api/CustomFieldsetsController.phpindex 51123eea6f..c0a65a239e 100644--- a/app/Http/Controllers/Api/CustomFieldsetsController.php+++ b/app/Http/Controllers/Api/CustomFieldsetsController.php@@ -31,8 +31,6 @@ class CustomFieldsetsController extends Controller* @author [A. Gianotto] [<[email protected]>]* @author [Josh Gibson]*- * @param int $id- ** @since [v1.8]*/public function index(): arraydiff --git a/app/Http/Controllers/Api/DepartmentsController.php b/app/Http/Controllers/Api/DepartmentsController.phpindex f0c1c0fc53..9e12d25a9c 100644--- a/app/Http/Controllers/Api/DepartmentsController.php+++ b/app/Http/Controllers/Api/DepartmentsController.php@@ -176,8 +176,6 @@ class DepartmentsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $locationId- ** @since [v4.0]*/public function destroy($id): JsonResponsediff --git a/app/Http/Controllers/Api/ImportController.php b/app/Http/Controllers/Api/ImportController.phpindex c61e31bb92..bf1d1635f9 100644--- a/app/Http/Controllers/Api/ImportController.php+++ b/app/Http/Controllers/Api/ImportController.php@@ -44,8 +44,6 @@ class ImportController extends Controller/*** Process and store a CSV upload file.- *- * @param \Illuminate\Http\Request $request*/public function store(): JsonResponse{diff --git a/app/Http/Controllers/Api/ManufacturersController.php b/app/Http/Controllers/Api/ManufacturersController.phpindex fd1ee27b5d..b1516bbf99 100644--- a/app/Http/Controllers/Api/ManufacturersController.php+++ b/app/Http/Controllers/Api/ManufacturersController.php@@ -208,8 +208,6 @@ class ManufacturersController extends Controller* @author [A. Gianotto] [<[email protected]>]** @since [v4.0]- *- * @param int $id*/public function destroy(Manufacturer $manufacturer): JsonResponse{diff --git a/app/Http/Controllers/Api/NotesController.php b/app/Http/Controllers/Api/NotesController.phpindex 9bd035ee26..b721a083b0 100644--- a/app/Http/Controllers/Api/NotesController.php+++ b/app/Http/Controllers/Api/NotesController.php@@ -24,7 +24,6 @@ class NotesController extends Controller* and fetches related action log entries of type 'note added', including* user information for each note. Returns a JSON response with the notes or errors.*- * @param Request $request The incoming HTTP request.* @param Asset $asset The ID of the asset whose notes to retrieve.*/public function index(Asset $asset): JsonResponsediff --git a/app/Http/Controllers/Api/PredefinedKitsController.php b/app/Http/Controllers/Api/PredefinedKitsController.phpindex 9d2460adcc..a3c7188a4b 100644--- a/app/Http/Controllers/Api/PredefinedKitsController.php+++ b/app/Http/Controllers/Api/PredefinedKitsController.php@@ -158,7 +158,6 @@ class PredefinedKitsController extends Controller/*** Display the specified resource.*- * @param int $id* @return Response*/public function indexLicenses($kit_id): array@@ -173,7 +172,6 @@ class PredefinedKitsController extends Controller/*** Store the specified resource.*- * @param int $id* @return Response*/public function storeLicense(Request $request, $kit_id): JsonResponse@@ -256,8 +254,6 @@ class PredefinedKitsController extends Controller/*** Store the specified resource.- *- * @param int $id*/public function storeModel(Request $request, $kit_id): JsonResponse{@@ -340,8 +336,6 @@ class PredefinedKitsController extends Controller/*** Store the specified resource.- *- * @param int $id*/public function storeConsumable(Request $request, $kit_id): JsonResponse{diff --git a/app/Http/Controllers/Api/SuppliersController.php b/app/Http/Controllers/Api/SuppliersController.phpindex 1785d3935d..a727a5dec3 100644--- a/app/Http/Controllers/Api/SuppliersController.php+++ b/app/Http/Controllers/Api/SuppliersController.php@@ -205,8 +205,6 @@ class SuppliersController extends Controller* @author [A. Gianotto] [<[email protected]>]** @since [v4.0]- *- * @param int $id*/public function destroy(Supplier $supplier): JsonResponse{diff --git a/app/Http/Controllers/Api/UploadedFilesController.php b/app/Http/Controllers/Api/UploadedFilesController.phpindex 595b30e75c..3e5fdc9a81 100644--- a/app/Http/Controllers/Api/UploadedFilesController.php+++ b/app/Http/Controllers/Api/UploadedFilesController.php@@ -133,7 +133,6 @@ class UploadedFilesController extends Controller/*** Check for permissions and display the file.*- * @param UploadFileRequest $request* @param string $object_type the type of object to upload the file to* @param int $id the ID of the object to delete from so we can check permisisons* @param $file_id the ID of the file to delete from the action_logs table@@ -185,7 +184,6 @@ class UploadedFilesController extends Controller/*** Delete the associated file*- * @param UploadFileRequest $request* @param string $object_type the type of object to upload the file to* @param int $id the ID of the object to delete from so we can check permisisons* @param $file_id the ID of the file to delete from the action_logs tablediff --git a/app/Http/Controllers/Api/UsersController.php b/app/Http/Controllers/Api/UsersController.phpindex 9a1410b125..328e638c2a 100644--- a/app/Http/Controllers/Api/UsersController.php+++ b/app/Http/Controllers/Api/UsersController.php@@ -616,7 +616,6 @@ class UsersController extends Controller* @since [v4.0]** @param Request $request- * @param int $id*/public function update(SaveUserRequest $request, User $user): JsonResponse{diff --git a/app/Http/Controllers/Assets/AssetCheckinController.php b/app/Http/Controllers/Assets/AssetCheckinController.phpindex f0ed400007..6b03126b30 100644--- a/app/Http/Controllers/Assets/AssetCheckinController.php+++ b/app/Http/Controllers/Assets/AssetCheckinController.php@@ -25,7 +25,6 @@ class AssetCheckinController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $assetId* @param string $backto** @since [v1.0]diff --git a/app/Http/Controllers/Assets/AssetCheckoutController.php b/app/Http/Controllers/Assets/AssetCheckoutController.phpindex 9cdbf9b71d..57782a3f01 100644--- a/app/Http/Controllers/Assets/AssetCheckoutController.php+++ b/app/Http/Controllers/Assets/AssetCheckoutController.php@@ -28,8 +28,6 @@ class AssetCheckoutController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $assetId- ** @since [v1.0]** @return Viewdiff --git a/app/Http/Controllers/Assets/AssetsController.php b/app/Http/Controllers/Assets/AssetsController.phpindex aae9f2edd1..5a87ba4fb3 100755--- a/app/Http/Controllers/Assets/AssetsController.php+++ b/app/Http/Controllers/Assets/AssetsController.php@@ -364,8 +364,6 @@ class AssetsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $assetId- ** @since [v1.0]** @return View@@ -441,7 +439,6 @@ class AssetsController extends Controller/*** Validate and process asset edit form.*- * @param int $assetId** @since [v1.0]*@@ -593,8 +590,6 @@ class AssetsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $assetId- ** @since [v1.0]*/public function destroy(Request $request, Asset $asset): RedirectResponse@@ -673,8 +668,6 @@ class AssetsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $assetId- ** @since [v1.0]*/public function getQrCode(Asset $asset): Response|BinaryFileResponse|string|bool@@ -793,8 +786,6 @@ class AssetsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $assetId- ** @since [v1.0]** @return View@@ -1062,7 +1053,7 @@ class AssetsController extends Controller// company_id column. Fall back to the requesting user's// tenant visibility.if ($checkoutRequest->requestable_type === AssetModel::class- && (!$checkoutRequest->user || !Company::isCurrentUserHasAccess($checkoutRequest->user))+ && (! $checkoutRequest->user || ! Company::isCurrentUserHasAccess($checkoutRequest->user))) {continue;}diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.phpindex b1a94cde74..e68cc5c090 100644--- a/app/Http/Controllers/Auth/LoginController.php+++ b/app/Http/Controllers/Auth/LoginController.php@@ -10,6 +10,7 @@ use App\Models\Setting;use App\Models\User;use App\Services\Saml;use Com\Tecnick\Barcode\Barcode;+use Exception;use Google2FA;use Illuminate\Foundation\Auth\ThrottlesLogins;use Illuminate\Http\RedirectResponse;@@ -506,8 +507,7 @@ class LoginController extends Controller/*** Logout page.*- *- * @return Illuminate\Http\RedirectResponse+ * @return RedirectResponse*/public function logout(Request $request){diff --git a/app/Http/Controllers/Auth/SamlController.php b/app/Http/Controllers/Auth/SamlController.phpindex 6f9c8afbd1..f1f9b5c714 100644--- a/app/Http/Controllers/Auth/SamlController.php+++ b/app/Http/Controllers/Auth/SamlController.php@@ -43,8 +43,6 @@ class SamlController extends Controller* @author Johnson Yi <[email protected]>** @since 5.0.0- *- * @return Response*/public function metadata(Request $request){diff --git a/app/Http/Controllers/CategoriesController.php b/app/Http/Controllers/CategoriesController.phpindex 98bd98e367..adf85aa06b 100755--- a/app/Http/Controllers/CategoriesController.php+++ b/app/Http/Controllers/CategoriesController.php@@ -92,9 +92,6 @@ class CategoriesController extends Controller* @author [A. Gianotto] [<[email protected]>]** @see CategoriesController::postEdit() method saves the data- *- * @param int $categoryId- ** @since [v1.0]*/public function edit(Category $category): RedirectResponse|View@@ -111,9 +108,6 @@ class CategoriesController extends Controller* @author [A. Gianotto] [<[email protected]>]** @see CategoriesController::getEdit() method that makes the form.- *- * @param int $categoryId- ** @since [v1.0]*/public function update(ImageUploadRequest $request, Category $category): RedirectResponse@@ -155,8 +149,6 @@ class CategoriesController extends Controller* @author [A. Gianotto] [<[email protected]>]** @since [v1.0]- *- * @param int $categoryId*/public function destroy(Category $category): RedirectResponse{diff --git a/app/Http/Controllers/CompaniesController.php b/app/Http/Controllers/CompaniesController.phpindex 8e3521e4b0..7518f79ecd 100644--- a/app/Http/Controllers/CompaniesController.php+++ b/app/Http/Controllers/CompaniesController.php@@ -89,8 +89,6 @@ final class CompaniesController extends Controller* @author [Abdullah Alansari] [<[email protected]>]** @since [v1.8]- *- * @param int $companyId*/public function edit(Company $company): View|RedirectResponse{@@ -105,8 +103,6 @@ final class CompaniesController extends Controller* @author [Abdullah Alansari] [<[email protected]>]** @since [v1.8]- *- * @param int $companyId*/public function update(ImageUploadRequest $request, Company $company): RedirectResponse{diff --git a/app/Http/Controllers/Components/ComponentsController.php b/app/Http/Controllers/Components/ComponentsController.phpindex 3d4d87b6a7..cd33e5e6c7 100644--- a/app/Http/Controllers/Components/ComponentsController.php+++ b/app/Http/Controllers/Components/ComponentsController.php@@ -127,7 +127,6 @@ class ComponentsController extends Controller* @see ComponentsController::postEdit() method that stores the data.* @since [v3.0]*- * @param int $componentId* @return View** @throws AuthorizationException@@ -152,7 +151,6 @@ class ComponentsController extends Controller** @see ComponentsController::getEdit() method presents the form.*- * @param int $componentId* @return RedirectResponse** @throws AuthorizationException@@ -239,7 +237,6 @@ class ComponentsController extends Controller* @see ComponentsController::getDataView() method that generates the JSON response* @since [v3.0]*- * @param int $componentId* @return View** @throws AuthorizationExceptiondiff --git a/app/Http/Controllers/Consumables/ConsumablesController.php b/app/Http/Controllers/Consumables/ConsumablesController.phpindex 858c39160c..d7691a8ce0 100644--- a/app/Http/Controllers/Consumables/ConsumablesController.php+++ b/app/Http/Controllers/Consumables/ConsumablesController.php@@ -136,8 +136,6 @@ class ConsumablesController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $consumableId- ** @see ConsumablesController::postEdit() method that stores the form data.* @since [v1.0]*/@@ -160,7 +158,6 @@ class ConsumablesController extends Controller* @author [A. Gianotto] [<[email protected]>]** @param ImageUploadRequest $request- * @param int $consumableId* @return RedirectResponse** @throws AuthorizationException@@ -241,7 +238,6 @@ class ConsumablesController extends Controller* @see ConsumablesController::getDataView() method that generates the JSON response* @since [v1.0]*- * @param int $consumableId* @return View** @throws AuthorizationExceptiondiff --git a/app/Http/Controllers/CustomFieldsetsController.php b/app/Http/Controllers/CustomFieldsetsController.phpindex ee4f07d3f7..abd8d4bb2d 100644--- a/app/Http/Controllers/CustomFieldsetsController.php+++ b/app/Http/Controllers/CustomFieldsetsController.php@@ -35,8 +35,6 @@ class CustomFieldsetsController extends Controller** @author [Brady Wetherington] [<[email protected]>]*- * @param int $id- ** @since [v1.8]*/public function show(CustomFieldset $fieldset): View|RedirectResponse@@ -127,8 +125,6 @@ class CustomFieldsetsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $id- ** @since [v6.0.14]*/public function edit(CustomFieldset $fieldset): View|RedirectResponse@@ -143,8 +139,6 @@ class CustomFieldsetsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $id- ** @since [v6.0.14]*/public function update(Request $request, CustomFieldset $fieldset): RedirectResponsediff --git a/app/Http/Controllers/DepartmentsController.php b/app/Http/Controllers/DepartmentsController.phpindex 567237abcf..dd9a417e6d 100644--- a/app/Http/Controllers/DepartmentsController.php+++ b/app/Http/Controllers/DepartmentsController.php@@ -71,8 +71,6 @@ class DepartmentsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $id- ** @since [v4.0]*/public function show(Department $department): View|RedirectResponse@@ -102,8 +100,6 @@ class DepartmentsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $locationId- ** @since [v4.0]*/public function destroy(Department $department): RedirectResponse@@ -130,9 +126,6 @@ class DepartmentsController extends Controller* @author [A. Gianotto] [<[email protected]>]** @see LocationsController::postCreate() method that validates and stores- *- * @param int $departmentId- ** @since [v1.0]*/public function edit(Department $department): View|RedirectResponse@@ -148,9 +141,6 @@ class DepartmentsController extends Controller* @author [A. Gianotto] [<[email protected]>]** @see LocationsController::postCreate() method that validates and stores- *- * @param int $departmentId- ** @since [v1.0]*/public function update(ImageUploadRequest $request, Department $department): RedirectResponsediff --git a/app/Http/Controllers/DepreciationsController.php b/app/Http/Controllers/DepreciationsController.phpindex 534c7fc12f..e9d2ec9c05 100755--- a/app/Http/Controllers/DepreciationsController.php+++ b/app/Http/Controllers/DepreciationsController.php@@ -3,10 +3,10 @@namespace App\Http\Controllers;use App\Models\Depreciation;+use App\Models\Setting;use Illuminate\Contracts\View\View;use Illuminate\Http\RedirectResponse;use Illuminate\Http\Request;-use App\Models\Setting;use Illuminate\Validation\Rule;/**@@ -113,9 +113,6 @@ class DepreciationsController extends Controller* @author [A. Gianotto] [<[email protected]]** @see DepreciationsController::postEdit()- *- * @param int $depreciationId- ** @since [v1.0]*/public function edit(Depreciation $depreciation): RedirectResponse|View@@ -132,9 +129,6 @@ class DepreciationsController extends Controller* @author [A. Gianotto] [<[email protected]]** @see DepreciationsController::getEdit()- *- * @param int $depreciationId- ** @since [v1.0]*/public function update(Request $request, Depreciation $depreciation): RedirectResponse@@ -220,9 +214,6 @@ class DepreciationsController extends Controller* @author [A. Gianotto] [<[email protected]]** @see DepreciationsController::postEdit()- *- * @param int $depreciationId- ** @since [v1.0]*/public function show(Depreciation $depreciation): View|RedirectResponsediff --git a/app/Http/Controllers/GroupsController.php b/app/Http/Controllers/GroupsController.phpindex a1c568471e..ad3ccdaeca 100755--- a/app/Http/Controllers/GroupsController.php+++ b/app/Http/Controllers/GroupsController.php@@ -93,9 +93,6 @@ class GroupsController extends Controller* @author [A. Gianotto] [<[email protected]]** @see GroupsController::postEdit()- *- * @param int $id- ** @since [v1.0]*/public function edit(Group $group): View|RedirectResponse@@ -123,9 +120,6 @@ class GroupsController extends Controller* @author [A. Gianotto] [<[email protected]]** @see GroupsController::getEdit()- *- * @param int $id- ** @since [v1.0]*/public function update(Request $request, Group $group): RedirectResponsediff --git a/app/Http/Controllers/Kits/PredefinedKitsController.php b/app/Http/Controllers/Kits/PredefinedKitsController.phpindex 2027bd628b..155882173d 100644--- a/app/Http/Controllers/Kits/PredefinedKitsController.php+++ b/app/Http/Controllers/Kits/PredefinedKitsController.php@@ -85,7 +85,6 @@ class PredefinedKitsController extends Controller** @since [v1.0]*- * @param int $kit_id* @return View*/public function edit(PredefinedKit $kit)@@ -107,7 +106,6 @@ class PredefinedKitsController extends Controller** @since [v1.0]*- * @param int $kit_id* @return RedirectResponse*/public function update(ImageUploadRequest $request, PredefinedKit $kit)@@ -160,7 +158,6 @@ class PredefinedKitsController extends Controller** @since [v1.0]*- * @param int $modelId* @return View*/public function show(PredefinedKit $kit)@@ -196,7 +193,6 @@ class PredefinedKitsController extends Controller** @author [D. Minaev] [<[email protected]>]*- * @param int $modelId* @return RedirectResponse*/public function updateModel(Request $request, $kit_id, $model_id)@@ -237,7 +233,6 @@ class PredefinedKitsController extends Controller** @author [D. Minaev] [<[email protected]>]*- * @param int $modelId* @return View*/public function detachModel($kit_id, $model_id)@@ -351,7 +346,6 @@ class PredefinedKitsController extends Controller* @author [D. Minaev] [<[email protected]>]** @param int $kit_id- * @param int $accessoryId* @return View*/public function editAccessory($kit_id, $accessory_id)@@ -466,7 +460,6 @@ class PredefinedKitsController extends Controller* @author [D. Minaev] [<[email protected]>]** @param int $kit_id- * @param int $consumableId* @return RedirectResponse*/public function updateConsumable(Request $request, $kit_id, $consumable_id)diff --git a/app/Http/Controllers/Licenses/LicenseCheckinController.php b/app/Http/Controllers/Licenses/LicenseCheckinController.phpindex 79b0848caf..b123e40684 100644--- a/app/Http/Controllers/Licenses/LicenseCheckinController.php+++ b/app/Http/Controllers/Licenses/LicenseCheckinController.php@@ -26,7 +26,6 @@ class LicenseCheckinController extends Controller** @since [v1.0]*- * @param int $seatId* @param string $backTo* @return View*diff --git a/app/Http/Controllers/Licenses/LicensesController.php b/app/Http/Controllers/Licenses/LicensesController.phpindex 83a32bcd7a..b6fcc7acfe 100755--- a/app/Http/Controllers/Licenses/LicensesController.php+++ b/app/Http/Controllers/Licenses/LicensesController.php@@ -139,7 +139,6 @@ class LicensesController extends Controller** @since [v1.0]*- * @param int $licenseId* @return View** @throws AuthorizationException@@ -172,7 +171,6 @@ class LicensesController extends Controller* @see LicensesController::getEdit() method that provides the form view* @since [v1.0]*- * @param int $licenseId* @return RedirectResponse** @throws AuthorizationException@@ -225,7 +223,6 @@ class LicensesController extends Controller** @since [v1.0]*- * @param int $licenseId* @return RedirectResponse** @throws AuthorizationException@@ -266,7 +263,6 @@ class LicensesController extends Controller** @since [v1.0]*- * @param int $licenseId* @return View** @throws AuthorizationExceptiondiff --git a/app/Http/Controllers/LocationsController.php b/app/Http/Controllers/LocationsController.phpindex 03dc9c9962..5fa975ca0c 100755--- a/app/Http/Controllers/LocationsController.php+++ b/app/Http/Controllers/LocationsController.php@@ -142,9 +142,6 @@ class LocationsController extends Controller* @author [A. Gianotto] [<[email protected]>]** @see LocationsController::postCreate() method that validates and stores- *- * @param int $locationId- ** @since [v1.0]*/public function edit(Location $location): View|RedirectResponse@@ -160,9 +157,6 @@ class LocationsController extends Controller* @author [A. Gianotto] [<[email protected]>]** @see LocationsController::getEdit() method that makes the form view- *- * @param int $locationId- ** @since [v1.0]*/public function update(ImageUploadRequest $request, Location $location): RedirectResponse@@ -277,8 +271,6 @@ class LocationsController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $id- ** @since [v1.0]*/public function show(Location $location): View|RedirectResponse@@ -393,8 +385,6 @@ class LocationsController extends Controller* @author [A. Gianotto] [<[email protected]>]** @since [v1.0]- *- * @param int $id*/public function postRestore(Location $location): RedirectResponse{diff --git a/app/Http/Controllers/MaintenancesController.php b/app/Http/Controllers/MaintenancesController.phpindex 35933f919d..36edbacf0d 100644--- a/app/Http/Controllers/MaintenancesController.php+++ b/app/Http/Controllers/MaintenancesController.php@@ -191,7 +191,6 @@ class MaintenancesController extends Controller* @author Vincent Sposato <[email protected]>** @param Request $request- * @param int $maintenanceId** @version v1.0*@@ -383,8 +382,6 @@ class MaintenancesController extends Controller** @author Vincent Sposato <[email protected]>*- * @param int $maintenanceId- ** @version v1.0** @since [v1.8]@@ -406,8 +403,6 @@ class MaintenancesController extends Controller** @author Vincent Sposato <[email protected]>*- * @param int $maintenanceId- ** @version v1.0** @since [v1.8]diff --git a/app/Http/Controllers/ManufacturersController.php b/app/Http/Controllers/ManufacturersController.phpindex e89c93c0c4..ed97dee0bc 100755--- a/app/Http/Controllers/ManufacturersController.php+++ b/app/Http/Controllers/ManufacturersController.php@@ -113,9 +113,6 @@ class ManufacturersController extends Controller* @author [A. Gianotto] [<[email protected]>]** @see ManufacturersController::update()- *- * @param int $manufacturerId- ** @since [v1.0]*/public function edit(Manufacturer $manufacturer): View|RedirectResponse@@ -133,7 +130,6 @@ class ManufacturersController extends Controller* @see ManufacturersController::getEdit()** @param Request $request- * @param int $manufacturerId** @since [v1.0]*/@@ -169,8 +165,6 @@ class ManufacturersController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $manufacturerId- ** @since [v1.0]*/public function destroy(Manufacturer $manufacturer): RedirectResponse@@ -196,8 +190,6 @@ class ManufacturersController extends Controller** @author [A. Gianotto] [<[email protected]>]*- * @param int $manufacturerId- ** @since [v1.0]*/public function show(Manufacturer $manufacturer): View|RedirectResponse@@ -213,8 +205,6 @@ class ManufacturersController extends Controller* @author [A. Gianotto] [<[email protected]>]** @since [v4.1.15]- *- * @param int $manufacturers_id*/public function restore($id): RedirectResponse{diff --git a/app/Http/Controllers/ReportsController.php b/app/Http/Controllers/ReportsController.phpindex 8fa1b5f12a..69b9eb832d 100644--- a/app/Http/Controllers/ReportsController.php+++ b/app/Http/Controllers/ReportsController.php@@ -1472,7 +1472,6 @@ class ReportsController extends Controller/*** sentAssetAcceptanceReminder*- * @param int|null $acceptanceId** @version v1.0*/diff --git a/app/Http/Controllers/StatuslabelsController.php b/app/Http/Controllers/StatuslabelsController.phpindex 6024c6b887..155942c130 100755--- a/app/Http/Controllers/StatuslabelsController.php+++ b/app/Http/Controllers/StatuslabelsController.php@@ -85,8 +85,6 @@ class StatuslabelsController extends Controller/*** Statuslabel update.- *- * @param int $statuslabelId*/public function edit(Statuslabel $statuslabel): View|RedirectResponse{@@ -101,8 +99,6 @@ class StatuslabelsController extends Controller/*** Statuslabel update form processing page.- *- * @param int $statuslabelId*/public function update(Request $request, Statuslabel $statuslabel): RedirectResponse{diff --git a/app/Http/Controllers/SuppliersController.php b/app/Http/Controllers/SuppliersController.phpindex 84b104c240..526691f3f6 100755--- a/app/Http/Controllers/SuppliersController.php+++ b/app/Http/Controllers/SuppliersController.php@@ -81,8 +81,6 @@ class SuppliersController extends Controller/*** Supplier update.- *- * @param int $supplierId*/public function edit(Supplier $supplier): View|RedirectResponse{@@ -93,8 +91,6 @@ class SuppliersController extends Controller/*** Supplier update form processing page.- *- * @param int $supplierId*/public function update(ImageUploadRequest $request, Supplier $supplier): RedirectResponse{@@ -125,8 +121,6 @@ class SuppliersController extends Controller/*** Delete the given supplier.- *- * @param int $supplierId*/public function destroy(Supplier $supplier): RedirectResponse{@@ -169,7 +163,6 @@ class SuppliersController extends Controller/*** Get the asset information to present to the supplier view page*- * @param null $supplierId** @internal param int $assetId*/diff --git a/app/Http/Controllers/UploadedFilesController.php b/app/Http/Controllers/UploadedFilesController.phpindex 7e8e7579dc..841c8f9c01 100644--- a/app/Http/Controllers/UploadedFilesController.php+++ b/app/Http/Controllers/UploadedFilesController.php@@ -71,7 +71,6 @@ class UploadedFilesController extends Controller* Check for permissions and display the file.* This isn't currently used, but is here for future use.*- * @param UploadFileRequest $request* @param string $object_type the type of object to upload the file to* @param int $id the ID of the object to delete from so we can check permisisons* @param $file_id the ID of the file to show from the action_logs table@@ -116,7 +115,6 @@ class UploadedFilesController extends Controller/*** Delete the associated file*- * @param UploadFileRequest $request* @param string $object_type the type of object to upload the file to* @param int $id the ID of the object to delete from so we can check permisisons* @param $file_id the ID of the file to delete from the action_logs tablediff --git a/app/Http/Controllers/Users/UsersController.php b/app/Http/Controllers/Users/UsersController.phpindex 036c09c2b1..7d9d92ba35 100755--- a/app/Http/Controllers/Users/UsersController.php+++ b/app/Http/Controllers/Users/UsersController.php@@ -276,7 +276,6 @@ class UsersController extends Controller** @since [v1.0]*- * @param int $id* @return RedirectResponse** @throws AuthorizationException@@ -432,7 +431,6 @@ class UsersController extends Controller** @since [v1.0]*- * @param int $id* @return RedirectResponse** @throws AuthorizationException@@ -472,7 +470,6 @@ class UsersController extends Controller** @since [v1.0]*- * @param int $userId* @return View** @throws AuthorizationException@@ -505,7 +502,6 @@ class UsersController extends Controller** @since [v1.0]*- * @param int $id* @return View** @throws AuthorizationExceptiondiff --git a/app/Http/Controllers/ViewAssetsController.php b/app/Http/Controllers/ViewAssetsController.phpindex 23d61c33b1..d6eec23c8d 100755--- a/app/Http/Controllers/ViewAssetsController.php+++ b/app/Http/Controllers/ViewAssetsController.php@@ -365,8 +365,6 @@ class ViewAssetsController extends Controller/*** Process a specific requested asset- *- * @param null $assetId*/public function store(Request $request, Asset $asset): RedirectResponse{diff --git a/app/Http/Kernel.php b/app/Http/Kernel.phpindex da6f7b6a3d..c28f322894 100644--- a/app/Http/Kernel.php+++ b/app/Http/Kernel.php@@ -45,7 +45,7 @@ class Kernel extends HttpKernel** These middleware are run during every request to your application.*- * @var array+ * @var array<int, string>*/protected $middleware = [TrustProxies::class,@@ -67,7 +67,7 @@ class Kernel extends HttpKernel/*** The application's route middleware groups.*- * @var array+ * @var array<string, array<int, string>>*/protected $middlewareGroups = ['web' => [diff --git a/app/Http/Middleware/EncryptCookies.php b/app/Http/Middleware/EncryptCookies.phpindex 0d5b37de77..6fe8e2f08c 100644--- a/app/Http/Middleware/EncryptCookies.php+++ b/app/Http/Middleware/EncryptCookies.php@@ -9,7 +9,7 @@ class EncryptCookies extends BaseEncrypter/*** The names of the cookies that should not be encrypted.*- * @var array+ * @var array<int, string>*/protected $except = [//diff --git a/app/Http/Middleware/PreventRequestsDuringMaintenance.php b/app/Http/Middleware/PreventRequestsDuringMaintenance.phpindex e4956d0bb9..74cbd9a9ea 100644--- a/app/Http/Middleware/PreventRequestsDuringMaintenance.php+++ b/app/Http/Middleware/PreventRequestsDuringMaintenance.php@@ -9,7 +9,7 @@ class PreventRequestsDuringMaintenance extends Middleware/*** The URIs that should be reachable while maintenance mode is enabled.*- * @var array+ * @var array<int, string>*/protected $except = [//diff --git a/app/Http/Middleware/TrimStrings.php b/app/Http/Middleware/TrimStrings.phpindex a8a252df4c..88cadcaaf2 100644--- a/app/Http/Middleware/TrimStrings.php+++ b/app/Http/Middleware/TrimStrings.php@@ -9,7 +9,7 @@ class TrimStrings extends Middleware/*** The names of the attributes that should not be trimmed.*- * @var array+ * @var array<int, string>*/protected $except = ['current_password',diff --git a/app/Http/Middleware/VerifyCsrfToken.php b/app/Http/Middleware/VerifyCsrfToken.phpindex 33772440ea..14a9fa744a 100644--- a/app/Http/Middleware/VerifyCsrfToken.php+++ b/app/Http/Middleware/VerifyCsrfToken.php@@ -9,7 +9,7 @@ class VerifyCsrfToken extends BaseVerifier/*** The URIs that should be excluded from CSRF verification.*- * @var array+ * @var array<int, string>*/protected $except = ['health',diff --git a/app/Http/Traits/TwoColumnUniqueUndeletedTrait.php b/app/Http/Traits/TwoColumnUniqueUndeletedTrait.phpindex 16f44f1b12..bc4e791961 100644--- a/app/Http/Traits/TwoColumnUniqueUndeletedTrait.php+++ b/app/Http/Traits/TwoColumnUniqueUndeletedTrait.php@@ -8,7 +8,6 @@ trait TwoColumnUniqueUndeletedTrait* Prepare a unique_ids rule, adding a model identifier if required.** @param array $parameters- * @param string $field* @return string*/protected function prepareTwoColumnUniqueUndeletedRule($parameters)diff --git a/app/Importer/Importer.php b/app/Importer/Importer.phpindex 83cc17dd10..3039509fab 100644--- a/app/Importer/Importer.php+++ b/app/Importer/Importer.php@@ -822,7 +822,6 @@ abstract class Importer/*** Defines mappings of csv fields*- * @param bool $updating the updating* @return self*/public function setFieldMappings($fields)diff --git a/app/Importer/ItemImporter.php b/app/Importer/ItemImporter.phpindex 896813224a..4db1145ead 100644--- a/app/Importer/ItemImporter.php+++ b/app/Importer/ItemImporter.php@@ -416,11 +416,8 @@ class ItemImporter extends Importer** @since 3.0*- * @param array- * @param $row Row+ * @param array<string, mixed> $row* @return int Id of asset model created/found- *- * @internal param $asset_modelno string*/public function createOrFetchAssetModel(array $row){diff --git a/app/Listeners/CheckoutableListener.php b/app/Listeners/CheckoutableListener.phpindex d778b2369e..2fe9b9f964 100644--- a/app/Listeners/CheckoutableListener.php+++ b/app/Listeners/CheckoutableListener.php@@ -3,6 +3,7 @@namespace App\Listeners;use App\Actions\Acceptances\CreateCheckoutAcceptanceAction;+use App\Events\CheckoutableCheckedIn;use App\Events\CheckoutableCheckedOut;use App\Mail\CheckinAccessoryMail;use App\Mail\CheckinAssetMail;@@ -54,7 +55,7 @@ class CheckoutableListener/*** Register the listeners for the subscriber.*- * @param Illuminate\Events\Dispatcher $events+ * @param \Illuminate\Events\Dispatcher $events*/public function subscribe($events){@@ -143,28 +144,28 @@ class CheckoutableListener$status = $e->getResponse()->getStatusCode();if (strpos($e->getMessage(), 'channel_not_found') !== false) {- Log::warning($webhookSource->webhook_selected . ' notification failed: ' . $e->getMessage());+ Log::warning($webhookSource->webhook_selected.' notification failed: '.$e->getMessage());- return redirect()->back()->with('warning', ucfirst($webhookSource->webhook_selected) . trans('admin/settings/message.webhook.webhook_channel_not_found'));+ return redirect()->back()->with('warning', ucfirst($webhookSource->webhook_selected).trans('admin/settings/message.webhook.webhook_channel_not_found'));} else {if ($status >= 500 || $status === null) {- Log::error($webhookSource->webhook_selected . ' notification failed: ' . $e->getMessage());+ Log::error($webhookSource->webhook_selected.' notification failed: '.$e->getMessage());} else {Log::warning('ClientException caught during checkin notification: '.$e->getMessage());- return redirect()->back()->with('warning', ucfirst($webhookSource->webhook_selected) . trans('admin/settings/message.webhook.webhook_fail'));+ return redirect()->back()->with('warning', ucfirst($webhookSource->webhook_selected).trans('admin/settings/message.webhook.webhook_fail'));}}- return redirect()->back()->with('warning', ucfirst($webhookSource->webhook_selected) . trans('admin/settings/message.webhook.webhook_fail'));+ return redirect()->back()->with('warning', ucfirst($webhookSource->webhook_selected).trans('admin/settings/message.webhook.webhook_fail'));} catch (Exception $e) {- Log::warning(ucfirst($webhookSource->webhook_selected) . ' webhook notification failed:', [+ Log::warning(ucfirst($webhookSource->webhook_selected).' webhook notification failed:', ['error' => $e->getMessage(),'webhook_endpoint' => $webhookSource->webhook_endpoint,'event' => $event,]);- return redirect()->back()->with('warning', ucfirst($webhookSource->webhook_selected) . trans('admin/settings/message.webhook.webhook_fail'));+ return redirect()->back()->with('warning', ucfirst($webhookSource->webhook_selected).trans('admin/settings/message.webhook.webhook_fail'));}}}@@ -243,26 +244,26 @@ class CheckoutableListener$status = $e->getResponse()->getStatusCode();if (strpos($e->getMessage(), 'channel_not_found') !== false) {- Log::warning($webhookSource->webhook_selected . ' notification failed: ' . $e->getMessage());+ Log::warning($webhookSource->webhook_selected.' notification failed: '.$e->getMessage());- return redirect()->back()->with('warning', ucfirst($webhookSource->webhook_selected) . trans('admin/settings/message.webhook.webhook_channel_not_found'));+ return redirect()->back()->with('warning', ucfirst($webhookSource->webhook_selected).trans('admin/settings/message.webhook.webhook_channel_not_found'));} else {if ($status >= 500 || $status === null) {- Log::error($webhookSource->webhook_selected . ' notification failed: ' . $e->getMessage());+ Log::error($webhookSource->webhook_selected.' notification failed: '.$e->getMessage());} else {Log::warning('ClientException caught during checkin notification: '.$e->getMessage());- return redirect()->back()->with('warning', ucfirst($webhookSource->webhook_selected) . trans('admin/settings/message.webhook.webhook_fail'));+ return redirect()->back()->with('warning', ucfirst($webhookSource->webhook_selected).trans('admin/settings/message.webhook.webhook_fail'));}}} catch (Exception $e) {- Log::warning(ucfirst($webhookSource->webhook_selected) . ' webhook notification failed:', [+ Log::warning(ucfirst($webhookSource->webhook_selected).' webhook notification failed:', ['error' => $e->getMessage(),'webhook_endpoint' => $webhookSource->webhook_endpoint,'event' => $event,]);- return redirect()->back()->with('warning', ucfirst($webhookSource->webhook_selected) . trans('admin/settings/message.webhook.webhook_fail'));+ return redirect()->back()->with('warning', ucfirst($webhookSource->webhook_selected).trans('admin/settings/message.webhook.webhook_fail'));}}}@@ -327,7 +328,7 @@ class CheckoutableListener/*** Generates a checkout acceptance*- * @param Event $event+ * @param CheckoutableCheckedOut $event* @return mixed*/private function getCheckoutAcceptance($event)@@ -528,7 +529,7 @@ class CheckoutableListenerprivate function shouldSendWebhookNotification(Model $checkoutable): bool{- return (bool)$this->webhookSource($checkoutable)->webhook_endpoint;+ return (bool) $this->webhookSource($checkoutable)->webhook_endpoint;}private function checkoutableCategoryShouldSendEmail(Model $checkoutable): booldiff --git a/app/Listeners/LogListener.php b/app/Listeners/LogListener.phpindex c2de69d888..b3f2b27394 100644--- a/app/Listeners/LogListener.php+++ b/app/Listeners/LogListener.php@@ -127,7 +127,7 @@ class LogListener/*** Register the listeners for the subscriber.*- * @param Illuminate\Events\Dispatcher $events+ * @param \Illuminate\Events\Dispatcher $events*/public function subscribe($events){diff --git a/app/Mail/CheckinAssetMail.php b/app/Mail/CheckinAssetMail.phpindex f709084281..579b355bcf 100644--- a/app/Mail/CheckinAssetMail.php+++ b/app/Mail/CheckinAssetMail.php@@ -51,8 +51,6 @@ class CheckinAssetMail extends BaseMailable/*** Get the mail representation of the notification.- *- * @param mixed $notifiable*/public function content(): Content{diff --git a/app/Mail/CheckoutAssetMail.php b/app/Mail/CheckoutAssetMail.phpindex 0aad101dc1..57b7cbec64 100644--- a/app/Mail/CheckoutAssetMail.php+++ b/app/Mail/CheckoutAssetMail.php@@ -82,8 +82,6 @@ class CheckoutAssetMail extends BaseMailable/*** Get the mail representation of the notification.- *- * @param mixed $notifiable*/public function content(): Content{diff --git a/app/Models/Accessory.php b/app/Models/Accessory.phpindex facf5fc42d..3a2a8d2942 100755--- a/app/Models/Accessory.php+++ b/app/Models/Accessory.php@@ -28,6 +28,7 @@ use Watson\Validating\ValidatingTrait;* Model for Accessories.** @version v1.0+ ** @mixin IdeHelperAccessory*/class Accessory extends SnipeModel@@ -478,7 +479,6 @@ class Accessory extends SnipeModel/*** Run after the checkout acceptance was declined by the user*- * @param User $acceptedBy* @param string $signature*/public function declinedCheckout(User $declinedBy, $signature)@@ -526,11 +526,6 @@ class Accessory extends SnipeModel$this->attributes['qty'] = (! $value) ? 0 : intval($value);}- /**- * ------------------------------------------------ * BEGIN QUERY SCOPES- * ------------------------------------------------ **/public function newEloquentBuilder($query): AccessoryQueryBuilder{return new AccessoryQueryBuilder($query);diff --git a/app/Models/Asset.php b/app/Models/Asset.phpindex 9e0960c3f2..46dd04d561 100644--- a/app/Models/Asset.php+++ b/app/Models/Asset.php@@ -38,11 +38,11 @@ use Watson\Validating\ValidatingTrait;* @version v1.0** @property ?int $location_id- * @property Carbon|string|null $next_audit_date- * @property Carbon|string|null $last_audit_date- * @property Carbon|string|null $asset_eol_date+ * @property \Carbon\Carbon|string|null $next_audit_date+ * @property \Carbon\Carbon|string|null $last_audit_date+ * @property \Carbon\Carbon|string|null $asset_eol_date* @property ?int $company_id- * @property Carbon|string|null $last_checkin+ * @property \Carbon\Carbon|string|null $last_checkin* @property bool $requestable* @property Asset|Location|User|null $assigned Current checkout target. morphTo relation named `assigned` (declared on method `assignedTo()`). Eloquent resolves the dynamic property by the morphTo name arg, not the method name, so this `@property` is distinct from `@property ... $assignedTo` written by ide-helper.*@@ -83,7 +83,6 @@ class Asset extends Depreciable/*** Run after the checkout acceptance was declined by the user*- * @param User $acceptedBy* @param string $signature*/public function declinedCheckout(User $declinedBy, $signature)@@ -198,7 +197,7 @@ class Asset extends Depreciable/*** The attributes that are mass assignable.*- * @var array+ * @var list<string>*/protected $fillable = ['asset_tag',@@ -678,7 +677,6 @@ class Asset extends Depreciable** @author [A. Gianotto] [<[email protected]>]*- * @param User $user* @param User $admin* @param Carbon $checkout_at* @param Carbon $expected_checkin@@ -1585,17 +1583,11 @@ class Asset extends Depreciable}/**- * ------------------------------------------------ * BEGIN QUERY SCOPES- * ------------------------------------------------ **/-- /**- * Run additional, advanced searches.- * This overrides the advancedTextSearch method on the Searchable model trait to add searching of assigned user, location, and assets.+ * Run additional, advanced searches. Overrides advancedTextSearch+ * on the Searchable trait to also search assigned user, location,+ * and asset-to-asset checkouts.*- * @param array $terms The search terms- * @return Builder+ * @param array<int, string> $terms The search terms*/public function advancedTextSearch(Builder $query, array $terms){diff --git a/app/Models/AssetModel.php b/app/Models/AssetModel.phpindex a041a5da58..1aa414f12e 100755--- a/app/Models/AssetModel.php+++ b/app/Models/AssetModel.php@@ -25,6 +25,7 @@ use Watson\Validating\ValidatingTrait;* attributes that are common among the same type of asset.** @version v1.0+ ** @mixin IdeHelperAssetModel*/class AssetModel extends SnipeModel@@ -70,7 +71,7 @@ class AssetModel extends SnipeModel/*** The attributes that are mass assignable.*- * @var array+ * @var list<string>*/protected $fillable = ['category_id',@@ -374,23 +375,6 @@ class AssetModel extends SnipeModel&& ($this->deleted_at == '');}- /**- * ------------------------------------------------ * BEGIN QUERY SCOPES- * ------------------------------------------------ **/-- /**- * scopeInCategory- * Get all models that are in the array of category ids- *- *- * @return mixed- *- * @author Vincent Sposato <[email protected]>- *- * @version v1.0- */public function newEloquentBuilder($query): AssetModelQueryBuilder{return new AssetModelQueryBuilder($query);diff --git a/app/Models/Category.php b/app/Models/Category.phpindex 8c79db27bf..ae8bf6e690 100755--- a/app/Models/Category.php+++ b/app/Models/Category.php@@ -11,7 +11,6 @@ use App\Presenters\Presentable;use Illuminate\Database\Eloquent\Factories\HasFactory;use Illuminate\Database\Eloquent\Relations\Relation;use Illuminate\Database\Eloquent\SoftDeletes;-use Illuminate\Database\Query\Builder;use Illuminate\Support\Facades\Gate;use Illuminate\Support\Facades\Log;use Illuminate\Support\Facades\Storage;@@ -25,6 +24,7 @@ use Watson\Validating\ValidatingTrait;* send a EULA to the user, etc.** @version v1.0+ ** @mixin IdeHelperCategory*/class Category extends SnipeModel@@ -71,7 +71,7 @@ class Category extends SnipeModel/*** The attributes that are mass assignable.*- * @var array+ * @var list<string>*/protected $fillable = ['category_type',@@ -351,20 +351,6 @@ class Category extends SnipeModel$this->attributes['checkin_email'] = (int) filter_var($value, FILTER_VALIDATE_BOOLEAN);}- /**- * ------------------------------------------------ * BEGIN QUERY SCOPES- * ------------------------------------------------ **/-- /**- * Query builder scope for whether or not the category requires acceptance- *- * @author Vincent Sposato <[email protected]>- *- * @param Builder $query Query builder instance- * @return Builder Modified query builder- */public function newEloquentBuilder($query): CategoryQueryBuilder{return new CategoryQueryBuilder($query);diff --git a/app/Models/CheckoutRequest.php b/app/Models/CheckoutRequest.phpindex 742eb0e0cc..c4cee86c41 100644--- a/app/Models/CheckoutRequest.php+++ b/app/Models/CheckoutRequest.php@@ -15,7 +15,8 @@ use Illuminate\Database\Eloquent\SoftDeletes;use Illuminate\Support\Collection;/**- * @property CheckoutRequestState $state+ * @property \App\Enums\CheckoutRequestState $state+ ** @mixin IdeHelperCheckoutRequest*/class CheckoutRequest extends Modeldiff --git a/app/Models/Company.php b/app/Models/Company.phpindex f995f5ec21..521cbfb7a7 100644--- a/app/Models/Company.php+++ b/app/Models/Company.php@@ -11,6 +11,7 @@ use App\Models\Traits\Loggable;use App\Models\Traits\Searchable;use App\Presenters\CompanyPresenter;use App\Presenters\Presentable;+use Exception;use Illuminate\Database\Eloquent\Factories\HasFactory;use Illuminate\Database\Eloquent\Relations\BelongsTo;use Illuminate\Database\Eloquent\SoftDeletes;@@ -27,6 +28,7 @@ use Watson\Validating\ValidatingTrait;* Model for Companies.** @version v1.8+ ** @mixin IdeHelperCompany*/final class Company extends SnipeModel@@ -109,7 +111,7 @@ final class Company extends SnipeModel/*** The attributes that are mass assignable.*- * @var array+ * @var list<string>*/protected $fillable = ['name',@@ -816,12 +818,6 @@ final class Company extends SnipeModel}}- /**- * Query builder scope to order on the user that created it.- *- * Use addSelect (not select) so prior withCount subqueries on the query- * survive — see scopeOrderParent() for the same rationale.- */public function newEloquentBuilder($query): CompanyQueryBuilder{return new CompanyQueryBuilder($query);diff --git a/app/Models/Component.php b/app/Models/Component.phpindex d1d01ffe3c..5cd7dc6e1c 100644--- a/app/Models/Component.php+++ b/app/Models/Component.php@@ -20,7 +20,6 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;use Illuminate\Database\Eloquent\Relations\BelongsToMany;use Illuminate\Database\Eloquent\Relations\Relation;use Illuminate\Database\Eloquent\SoftDeletes;-use Illuminate\Database\Query\Builder;use Illuminate\Support\Facades\Gate;use Illuminate\Support\Facades\Log;use Illuminate\Support\Facades\Storage;@@ -202,14 +201,6 @@ class Component extends SnipeModel$this->attributes['requestable'] = filter_var($value, FILTER_VALIDATE_BOOLEAN);}- /**- * Scope query to only requestable components. FMCS + location- * scoping falls out of the CompanyableTrait global scope, so the- * usual "user only sees rows in their reachable companies" rule- * applies without any additional wrapping here (matches the- * Accessory scope's shape and rationale).- */-/*** Establishes the component -> location relationship*@@ -501,19 +492,6 @@ class Component extends SnipeModel$this->attributes['qty'] = (! $value) ? 0 : intval($value);}- /**- * ------------------------------------------------ * BEGIN QUERY SCOPES- * ------------------------------------------------ **/-- /**- * Query builder scope to order on company- *- * @param Builder $query Query builder instance- * @param string $order Order- * @return Builder Modified query builder- */public function newEloquentBuilder($query): ComponentQueryBuilder{return new ComponentQueryBuilder($query);diff --git a/app/Models/Consumable.php b/app/Models/Consumable.phpindex d6ae135b5a..5441dcf6f7 100644--- a/app/Models/Consumable.php+++ b/app/Models/Consumable.php@@ -19,7 +19,6 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;use Illuminate\Database\Eloquent\Relations\BelongsToMany;use Illuminate\Database\Eloquent\Relations\Relation;use Illuminate\Database\Eloquent\SoftDeletes;-use Illuminate\Database\Query\Builder;use Illuminate\Support\Facades\Gate;use Illuminate\Support\Facades\Log;use Illuminate\Support\Facades\Storage;@@ -184,13 +183,6 @@ class Consumable extends SnipeModel$this->attributes['requestable'] = filter_var($value, FILTER_VALIDATE_BOOLEAN);}- /**- * Scope query to only requestable consumables. FMCS + location- * scoping falls out of the CompanyableTrait global scope, so the- * usual "user only sees rows in their reachable companies" rule- * applies without any additional wrapping here (matches the- * Accessory scope's shape and rationale).- */public function isDeletable(){return Gate::allows('delete', $this)@@ -462,27 +454,6 @@ class Consumable extends SnipeModel$this->attributes['qty'] = (! $value) ? 0 : intval($value);}- /**- * ------------------------------------------------ * BEGIN QUERY SCOPES- * ------------------------------------------------ **/-- /**- * Query builder scope to search on text filters for complex Bootstrap Tables API- *- * @param Builder $query Query builder instance- * @param text $filter JSON array of search keys and terms- * @return Builder Modified query builder- */-- /**- * Query builder scope to order on company- *- * @param Builder $query Query builder instance- * @param string $order Order- * @return Builder Modified query builder- */public function newEloquentBuilder($query): ConsumableQueryBuilder{return new ConsumableQueryBuilder($query);diff --git a/app/Models/CustomField.php b/app/Models/CustomField.phpindex d3bc63b647..2aae3c2821 100644--- a/app/Models/CustomField.php+++ b/app/Models/CustomField.php@@ -93,7 +93,7 @@ class CustomField extends Model/*** The attributes that are mass assignable.*- * @var array+ * @var list<string>*/protected $fillable = ['name',@@ -717,8 +717,6 @@ class CustomField extends Model** @author [V. Cordes] [<[email protected]>]*- * @param int $id- ** @since [v4.1.10]** @return arraydiff --git a/app/Models/Department.php b/app/Models/Department.phpindex c9e476def8..883ab3a823 100644--- a/app/Models/Department.php+++ b/app/Models/Department.php@@ -62,7 +62,7 @@ class Department extends SnipeModel/*** The attributes that are mass assignable.*- * @var array+ * @var list<string>*/protected $fillable = ['created_by',diff --git a/app/Models/Depreciable.php b/app/Models/Depreciable.phpindex 17e2ba01d2..2fe4becf9d 100644--- a/app/Models/Depreciable.php+++ b/app/Models/Depreciable.php@@ -111,7 +111,7 @@ class Depreciable extends SnipeModel}/**- * @param onlyHalfFirstYear Boolean always applied only second half of the first year+ * @param bool $onlyHalfFirstYear Apply half-year depreciation only to the second half of the first year.* @return float|int*/public function getHalfYearDepreciatedValue($onlyHalfFirstYear = false)@@ -145,7 +145,7 @@ class Depreciable extends SnipeModel{$depreciation = $this->get_depreciation();- if (!$depreciation || !$this->purchase_date) {+ if (! $depreciation || ! $this->purchase_date) {return null;}@@ -163,8 +163,8 @@ class Depreciable extends SnipeModel$baseValue = $this->purchase_cost;$effectiveLife = $depreciation->months / 12;- $rateMultiplier = (float)($depreciation->rate_multiplier ?? 2);- $fiscalYearStartMonth = (int)($depreciation->fiscal_year_start_month ?? 1);+ $rateMultiplier = (float) ($depreciation->rate_multiplier ?? 2);+ $fiscalYearStartMonth = (int) ($depreciation->fiscal_year_start_month ?? 1);$diminishingRate = $rateMultiplier / $effectiveLife;$periodStart = $purchaseDate->copy();@@ -194,6 +194,7 @@ class Depreciable extends SnipeModelreturn round(max($baseValue, 0), 2);}+/*** @param \DateTime $date* @return intdiff --git a/app/Models/Depreciation.php b/app/Models/Depreciation.phpindex dc0fd083ff..ad8ab8a61f 100755--- a/app/Models/Depreciation.php+++ b/app/Models/Depreciation.php@@ -42,7 +42,7 @@ class Depreciation extends SnipeModel/*** The attributes that are mass assignable.*- * @var array+ * @var list<string>*/protected $fillable = ['name',diff --git a/app/Models/Labels/Label.php b/app/Models/Labels/Label.phpindex 81cb1fe98c..23e580b386 100644--- a/app/Models/Labels/Label.php+++ b/app/Models/Labels/Label.php@@ -673,7 +673,6 @@ abstract class Label* Unlike most Models, these are defined by their existence as non-* abstract classes stored in Models\Labels.*- * @param string|Arrayable|array|null $path Label path[s]* @return Collection|Label|null*/public static function find($name = null)diff --git a/app/Models/Labels/Sheet.php b/app/Models/Labels/Sheet.phpindex 10595bfbaf..e626d00915 100644--- a/app/Models/Labels/Sheet.php+++ b/app/Models/Labels/Sheet.php@@ -2,6 +2,9 @@namespace App\Models\Labels;+use Illuminate\Support\Collection;+use TCPDF;+abstract class Sheet extends Label{protected int $indexOffset = 0;diff --git a/app/Models/License.php b/app/Models/License.phpindex d2b5140971..babf78dced 100755--- a/app/Models/License.php+++ b/app/Models/License.php@@ -86,7 +86,7 @@ class License extends Depreciable/*** The attributes that are mass assignable.*- * @var array+ * @var list<string>*/protected $fillable = ['company_id',@@ -224,14 +224,6 @@ class License extends Depreciable$this->attributes['requestable'] = filter_var($value, FILTER_VALIDATE_BOOLEAN);}- /**- * Scope query to only requestable licenses. FMCS + location- * scoping falls out of the CompanyableTrait global scope, so the- * usual "user only sees rows in their reachable companies" rule- * applies without any additional wrapping here (matches the- * Accessory / Consumable / Component scope shape).- */-/*** @return Attribute<string|null, never>*/diff --git a/app/Models/LicenseSeat.php b/app/Models/LicenseSeat.phpindex 46e031cdcf..1c523a5458 100755--- a/app/Models/LicenseSeat.php+++ b/app/Models/LicenseSeat.php@@ -40,7 +40,7 @@ class LicenseSeat extends SnipeModel implements ICompanyableChild/*** The attributes that are mass assignable.*- * @var array+ * @var list<string>*/protected $fillable = ['assigned_to',diff --git a/app/Models/Location.php b/app/Models/Location.phpindex c2fa9ab6df..a51ed9d0f4 100755--- a/app/Models/Location.php+++ b/app/Models/Location.php@@ -14,7 +14,6 @@ use App\Presenters\Presentable;use Illuminate\Database\Eloquent\Factories\HasFactory;use Illuminate\Database\Eloquent\Relations\Relation;use Illuminate\Database\Eloquent\SoftDeletes;-use Illuminate\Database\Query\Builder;use Illuminate\Support\Facades\Gate;use Illuminate\Support\Facades\Log;use Illuminate\Support\Facades\Storage;@@ -70,7 +69,7 @@ class Location extends SnipeModel/*** The attributes that are mass assignable.*- * @var array+ * @var list<string>*/protected $fillable = ['name',@@ -399,13 +398,6 @@ class Location extends SnipeModelreturn $this->attributes['ldap_ou'] = empty($ldap_ou) ? null : $ldap_ou;}- /**- * Query builder scope to order on parent- *- * @param Illuminate\Database\Query\Builder $query Query builder instance- * @param text $order Order- * @return Illuminate\Database\Query\Builder Modified query builder- *//*** The map's keys are parent_id values, with `0` used for "no parent / top-* level". Using 0 (not null) avoids PHP 8.4's deprecation of null arraydiff --git a/app/Models/Maintenance.php b/app/Models/Maintenance.phpindex 6573cdcda7..e32da1b4e0 100644--- a/app/Models/Maintenance.php+++ b/app/Models/Maintenance.php@@ -22,6 +22,7 @@ use Watson\Validating\ValidatingTrait;* Model for Asset Maintenances.** @version v1.0+ ** @property-read \App\Models\Asset|null $asset* @property-read \App\Models\Actionlog|null $assetlog* @property-read \App\Models\Supplier|null $supplier@@ -30,6 +31,7 @@ use Watson\Validating\ValidatingTrait;* @property-read \App\Models\User|null $responsibleParty* @property-read \App\Models\User|null $completedByUser* @property-read \Illuminate\Database\Eloquent\Model|null $item Polymorphic parent (usually Asset). See item() below.+ ** @mixin IdeHelperMaintenance*/class Maintenance extends SnipeModel implements ICompanyableChild@@ -77,7 +79,7 @@ class Maintenance extends SnipeModel implements ICompanyableChild/*** The attributes that are mass assignable.*- * @var array+ * @var list<string>*/protected $fillable = ['name',diff --git a/app/Models/Manufacturer.php b/app/Models/Manufacturer.phpindex 8530d59158..b8ca866079 100755--- a/app/Models/Manufacturer.php+++ b/app/Models/Manufacturer.php@@ -53,7 +53,7 @@ class Manufacturer extends SnipeModel/*** The attributes that are mass assignable.*- * @var array+ * @var list<string>*/protected $fillable = ['name',diff --git a/app/Models/PredefinedKit.php b/app/Models/PredefinedKit.phpindex 30dc066901..8d908805e5 100644--- a/app/Models/PredefinedKit.php+++ b/app/Models/PredefinedKit.php@@ -72,7 +72,6 @@ class PredefinedKit extends SnipeModel* this rules use in edit an attached accessory form* see PredefinedKit::_makeRuleHelper function for details*- * @param int $accessoriy_id* @param bool $new = true if append a new element to kit*/public function makeAccessoryRules($accessory_id, $new = false)@@ -126,7 +125,7 @@ class PredefinedKit extends SnipeModel/*** The attributes that are mass assignable.*- * @var array+ * @var list<string>*/protected $fillable = ['name',diff --git a/app/Models/Supplier.php b/app/Models/Supplier.phpindex f309690f10..f14b894d69 100755--- a/app/Models/Supplier.php+++ b/app/Models/Supplier.php@@ -79,7 +79,7 @@ class Supplier extends SnipeModel/*** The attributes that are mass assignable.*- * @var array+ * @var list<string>*/protected $fillable = ['name', 'address', 'address2', 'city', 'state', 'country', 'zip', 'phone', 'fax', 'email', 'contact', 'url', 'tag_color', 'notes'];diff --git a/app/Models/Traits/Searchable.php b/app/Models/Traits/Searchable.phpindex aea9328648..9cba6849d4 100644--- a/app/Models/Traits/Searchable.php+++ b/app/Models/Traits/Searchable.php@@ -1062,17 +1062,15 @@ trait Searchable}/**- * Run additional, advanced searches that can't be done using the attributes or relations.+ * Run additional, advanced searches that can't be done using the+ * attributes or relations. No-op in this trait. Override in the+ * implementing model to add relation-aware search terms.*- * This is a noop in this trait, but can be overridden in the implementing model, to allow more advanced searches+ * @param array<int, string> $terms*- * @param $query Builder- * @param $terms array- * @return Builder- *- * @SuppressWarnings(PHPMD.UnusedFormalParameter)+ * @SuppressWarnings("PHPMD.UnusedFormalParameter")*/- public function advancedTextSearch(Builder $query, array $terms)+ public function advancedTextSearch(Builder $query, array $terms): Builder{return $query;}diff --git a/app/Models/User.php b/app/Models/User.phpindex fc309ca596..577af6606e 100644--- a/app/Models/User.php+++ b/app/Models/User.php@@ -1568,30 +1568,6 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCoreturn '*** NO PASSWORD ***';}- /**- * Query builder scope to return NOT-deleted users- *- * @author A. Gianotto <[email protected]>- *- * @since [v2.0]- *- * @param string $query- * @return \Illuminate\Database\Query\Builder- */-- /**- * Query builder scope to return users by email or username- *- * @author A. Gianotto <[email protected]>- *- * @since [v2.0]- *- * @param string $query- * @param string $user_username- * @param string $user_email- * @return \Illuminate\Database\Query\Builder- */-/*** Generate email from full name*@@ -1791,21 +1767,11 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCo}/**- * Query builder scope to search user by name with spaces in it.- * We don't use the advancedTextSearch() scope because that searches- * all of the relations as well, which is more than what we need.+ * Run additional, advanced searches. Overrides advancedTextSearch+ * on the Searchable trait to also search user name with spaces in+ * it via orWhereMultipleColumns.*- * @param \Illuminate\Database\Query\Builder $query Query builder instance- * @param array $terms The search terms- * @return \Illuminate\Database\Query\Builder- */-- /**- * Run additional, advanced searches.- *- * @param \Illuminate\Database\Query\Builder $query Query builder instance- * @param array $terms The search terms- * @return Builder+ * @param array<int, string> $terms The search terms*/public function advancedTextSearch(Builder $query, array $terms){@@ -1821,66 +1787,6 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCoreturn $query;}- /**- * Query builder scope to return users by group- *- * @param \Illuminate\Database\Query\Builder $query Query builder instance- * @param int $id- * @return \Illuminate\Database\Query\Builder- */-- /**- * Return only admins and superusers- *- * @param \Illuminate\Database\Query\Builder $query Query builder instance- */-- /**- * Return only admins and superusers- *- * @param \Illuminate\Database\Query\Builder $query Query builder instance- */-- /**- * Query builder scope to order on manager- *- * @param \Illuminate\Database\Query\Builder $query Query builder instance- * @param string $order Order- * @return \Illuminate\Database\Query\Builder Modified query builder- */-- /**- * Query builder scope to order on company- *- * @param \Illuminate\Database\Query\Builder $query Query builder instance- * @param string $order Order- * @return \Illuminate\Database\Query\Builder Modified query builder- */-- /**- * Query builder scope to order on department- *- * @param \Illuminate\Database\Query\Builder $query Query builder instance- * @param string $order Order- * @return \Illuminate\Database\Query\Builder Modified query builder- */-- /**- * Query builder scope to order on admin user- *- * @param \Illuminate\Database\Query\Builder $query Query builder instance- * @param string $order Order- * @return \Illuminate\Database\Query\Builder Modified query builder- */-- /**- * Query builder scope to order on company- *- * @param Illuminate\Database\Query\Builder $query Query builder instance- * @param text $order Order- * @return Illuminate\Database\Query\Builder Modified query builder- */-/*** Get the preferred locale for the user.*diff --git a/app/Notifications/AcceptanceItemAcceptedNotification.php b/app/Notifications/AcceptanceItemAcceptedNotification.phpindex 34bb284b6f..052fd3c64d 100644--- a/app/Notifications/AcceptanceItemAcceptedNotification.php+++ b/app/Notifications/AcceptanceItemAcceptedNotification.php@@ -14,16 +14,27 @@ class AcceptanceItemAcceptedNotification extends Notification implements ShouldQuse Queueable;public $item_tag;+public $item_name;+public $item_model;+public $item_serial;+public $item_status;+public $accepted_date;+public $assigned_to;+public $company_name;+public $file;+public $qty;+public $note;+public $custom_fields;/**@@ -51,7 +62,6 @@ class AcceptanceItemAcceptedNotification extends Notification implements ShouldQ/*** Get the notification's delivery channels.*- * @param mixed $notifiable* @return array*/public function via()@@ -67,13 +77,12 @@ class AcceptanceItemAcceptedNotification extends Notification implements ShouldQ{$settings = Setting::getSettings();- return ($settings->alerts_enabled && !empty($settings->admin_cc_email));+ return $settings->alerts_enabled && ! empty($settings->admin_cc_email);}/*** Get the mail representation of the notification.*- * @param mixed $notifiable* @return MailMessage*/public function toMail()diff --git a/app/Notifications/AcceptanceItemAcceptedToUserNotification.php b/app/Notifications/AcceptanceItemAcceptedToUserNotification.phpindex 4951e97870..f126b01551 100644--- a/app/Notifications/AcceptanceItemAcceptedToUserNotification.php+++ b/app/Notifications/AcceptanceItemAcceptedToUserNotification.php@@ -65,7 +65,6 @@ class AcceptanceItemAcceptedToUserNotification extends Notification implements S/*** Get the notification's delivery channels.*- * @param mixed $notifiable* @return array*/public function via()@@ -80,7 +79,6 @@ class AcceptanceItemAcceptedToUserNotification extends Notification implements S/*** Get the mail representation of the notification.*- * @param mixed $notifiable* @return MailMessage*/public function toMail()diff --git a/app/Notifications/CurrentInventory.php b/app/Notifications/CurrentInventory.phpindex 28b9770139..ae02c8ce18 100644--- a/app/Notifications/CurrentInventory.php+++ b/app/Notifications/CurrentInventory.php@@ -20,14 +20,11 @@ class CurrentInventory extends Notification implements ShouldQueue*/public function __construct(public User $user- )- {- }+ ) {}/*** Get the notification's delivery channels.*- * @param mixed $notifiable* @return array*/public function via()diff --git a/app/Notifications/ExpiringAssetsNotification.php b/app/Notifications/ExpiringAssetsNotification.phpindex 1de10c8779..f94ffce224 100644--- a/app/Notifications/ExpiringAssetsNotification.php+++ b/app/Notifications/ExpiringAssetsNotification.php@@ -18,9 +18,7 @@ class ExpiringAssetsNotification extends Notification implements ShouldQueuepublic function __construct(public $params,public $threshold- )- {- }+ ) {}/*** Get the notification's delivery channels.@@ -38,7 +36,6 @@ class ExpiringAssetsNotification extends Notification implements ShouldQueue/*** Get the mail representation of the notification.*- * @param mixed $asset* @return MailMessage*/public function toMail()diff --git a/app/Notifications/ExpiringLicenseNotification.php b/app/Notifications/ExpiringLicenseNotification.phpindex f77ac01cff..f84493baef 100644--- a/app/Notifications/ExpiringLicenseNotification.php+++ b/app/Notifications/ExpiringLicenseNotification.php@@ -12,21 +12,17 @@ class ExpiringLicenseNotification extends Notification implements ShouldQueue{use Queueable;-/*** Create a new notification instance.*/public function __construct(public $params,public $threshold- )- {- }+ ) {}/*** Get the notification's delivery channels.*- * @param mixed $notifiable* @return array*/public function via()@@ -40,7 +36,6 @@ class ExpiringLicenseNotification extends Notification implements ShouldQueue/*** Get the mail representation of the notification.*- * @param mixed $asset* @return MailMessage*/public function toMail()diff --git a/app/Notifications/RequestAssetCancelation.php b/app/Notifications/RequestAssetCancelation.phpindex 7d9463fb03..6a115722ff 100644--- a/app/Notifications/RequestAssetCancelation.php+++ b/app/Notifications/RequestAssetCancelation.php@@ -17,11 +17,17 @@ class RequestAssetCancelation extends Notification implements ShouldQueueuse Queueable;public $target;+public $item;+public $note;+public $last_checkout;+public $item_quantity;+public $expected_checkin;+public $requested_date;public $start_date;@@ -72,7 +78,6 @@ class RequestAssetCancelation extends Notification implements ShouldQueue/*** Get the notification's delivery channels.*- * @param mixed $notifiable* @return array*/public function via()@@ -127,7 +132,6 @@ class RequestAssetCancelation extends Notification implements ShouldQueue/*** Get the mail representation of the notification.*- * @param mixed $notifiable* @return MailMessage*/public function toMail()diff --git a/app/Notifications/RequestAssetNotification.php b/app/Notifications/RequestAssetNotification.phpindex e598495b58..c206d0456a 100644--- a/app/Notifications/RequestAssetNotification.php+++ b/app/Notifications/RequestAssetNotification.php@@ -16,12 +16,19 @@ class RequestAssetNotification extends Notification implements ShouldQueueuse Queueable;public $target;+public $item;+public $item_type;+public $item_quantity;+public $note = '';+public $last_checkout = '';+public $expected_checkin = '';+public $requested_date;public $start_date;@@ -70,7 +77,6 @@ class RequestAssetNotification extends Notification implements ShouldQueue/*** Get the notification's delivery channels.*- * @param mixed $notifiable* @return array*/public function via()diff --git a/app/Policies/CheckoutablePermissionsPolicy.php b/app/Policies/CheckoutablePermissionsPolicy.phpindex bcd0e0f39a..9d433b2c6c 100644--- a/app/Policies/CheckoutablePermissionsPolicy.php+++ b/app/Policies/CheckoutablePermissionsPolicy.php@@ -9,7 +9,6 @@ abstract class CheckoutablePermissionsPolicy extends SnipePermissionsPolicy/*** Determine whether the user can checkout the accessory.*- * @param \App\User $user* @return mixed*/public function checkout(User $user, $item = null)@@ -20,7 +19,6 @@ abstract class CheckoutablePermissionsPolicy extends SnipePermissionsPolicy/*** Determine whether the user can checkin the accessory.*- * @param \App\User $user* @return mixed*/public function checkin(User $user, $item = null)@@ -31,7 +29,6 @@ abstract class CheckoutablePermissionsPolicy extends SnipePermissionsPolicy/*** Determine whether the user can manage the accessory.*- * @param \App\User $user* @return mixed*/public function manage(User $user, $item = null)diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.phpindex ac6b16b971..d58f7f7f96 100644--- a/app/Providers/AuthServiceProvider.php+++ b/app/Providers/AuthServiceProvider.php@@ -61,7 +61,7 @@ class AuthServiceProvider extends ServiceProvider** See SnipePermissionsPolicy for additional information.*- * @var array+ * @var array<class-string, class-string>*/protected $policies = [Accessory::class => AccessoryPolicy::class,diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.phpindex 48e6795386..7c9b2007ee 100644--- a/app/Providers/EventServiceProvider.php+++ b/app/Providers/EventServiceProvider.php@@ -17,7 +17,7 @@ class EventServiceProvider extends ServiceProvider/*** The event listener mappings for the application.*- * @var array+ * @var array<string, array<int, string>>*/protected $listen = ['Illuminate\Auth\Events\Login' => [diff --git a/app/Services/PredefinedKitCheckoutService.php b/app/Services/PredefinedKitCheckoutService.phpindex a6fdb7754a..84bdb89246 100644--- a/app/Services/PredefinedKitCheckoutService.php+++ b/app/Services/PredefinedKitCheckoutService.php@@ -3,6 +3,7 @@namespace App\Services;use App\Events\CheckoutableCheckedOut;+use App\Exceptions\CheckoutNotAllowed;use App\Models\Accessory;use App\Models\AccessoryCheckout;use App\Models\Asset;@@ -10,6 +11,7 @@ use App\Models\Consumable;use App\Models\LicenseSeat;use App\Models\PredefinedKit;use App\Models\User;+use Illuminate\Database\Eloquent\ModelNotFoundException;use Illuminate\Foundation\Auth\Access\AuthorizesRequests;use Illuminate\Http\Request;use Illuminate\Support\Facades\DB;diff --git a/app/Services/Saml.php b/app/Services/Saml.phpindex 5ae16f5b05..555381e31b 100644--- a/app/Services/Saml.php+++ b/app/Services/Saml.php@@ -28,7 +28,7 @@ class Saml/*** OneLogin_Saml2_Auth instance.*- * @var OneLogin\Saml2\Auth+ * @var \OneLogin\Saml2\Auth*/private $_auth;@@ -327,7 +327,7 @@ class Saml** @since 5.0.0*- * @return OneLogin\Saml2\Auth+ * @return \OneLogin\Saml2\Auth*/public function getAuth(){diff --git a/database/factories/AccessoryFactory.php b/database/factories/AccessoryFactory.phpindex a9aaff4f8b..feb35bac3c 100644--- a/database/factories/AccessoryFactory.php+++ b/database/factories/AccessoryFactory.php@@ -17,7 +17,7 @@ class AccessoryFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Accessory>*/protected $model = Accessory::class;diff --git a/database/factories/ActionlogFactory.php b/database/factories/ActionlogFactory.phpindex ba3e469b4a..3678f27338 100644--- a/database/factories/ActionlogFactory.php+++ b/database/factories/ActionlogFactory.php@@ -15,7 +15,7 @@ class ActionlogFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Actionlog>*/protected $model = Actionlog::class;diff --git a/database/factories/AssetFactory.php b/database/factories/AssetFactory.phpindex f6ff654280..0365daecd4 100644--- a/database/factories/AssetFactory.php+++ b/database/factories/AssetFactory.php@@ -17,7 +17,7 @@ class AssetFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Asset>*/protected $model = Asset::class;diff --git a/database/factories/AssetModelFactory.php b/database/factories/AssetModelFactory.phpindex 9f965dca18..884ce75915 100644--- a/database/factories/AssetModelFactory.php+++ b/database/factories/AssetModelFactory.php@@ -16,7 +16,7 @@ class AssetModelFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<AssetModel>*/protected $model = AssetModel::class;diff --git a/database/factories/CategoryFactory.php b/database/factories/CategoryFactory.phpindex ca19939ce5..0ea83167c9 100644--- a/database/factories/CategoryFactory.php+++ b/database/factories/CategoryFactory.php@@ -11,7 +11,7 @@ class CategoryFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Category>*/protected $model = Category::class;diff --git a/database/factories/CompanyFactory.php b/database/factories/CompanyFactory.phpindex a6d97c9db7..27527f6761 100644--- a/database/factories/CompanyFactory.php+++ b/database/factories/CompanyFactory.php@@ -10,7 +10,7 @@ class CompanyFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Company>*/protected $model = Company::class;diff --git a/database/factories/ComponentFactory.php b/database/factories/ComponentFactory.phpindex 488c1178e6..b0a9b8a806 100644--- a/database/factories/ComponentFactory.php+++ b/database/factories/ComponentFactory.php@@ -19,7 +19,7 @@ class ComponentFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Component>*/protected $model = Component::class;diff --git a/database/factories/ConsumableFactory.php b/database/factories/ConsumableFactory.phpindex d6c338dd20..13c2864178 100644--- a/database/factories/ConsumableFactory.php+++ b/database/factories/ConsumableFactory.php@@ -16,7 +16,7 @@ class ConsumableFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Consumable>*/protected $model = Consumable::class;diff --git a/database/factories/CustomFieldFactory.php b/database/factories/CustomFieldFactory.phpindex f24f964ce4..3f12ef52c6 100644--- a/database/factories/CustomFieldFactory.php+++ b/database/factories/CustomFieldFactory.php@@ -11,7 +11,7 @@ class CustomFieldFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<CustomField>*/protected $model = CustomField::class;diff --git a/database/factories/CustomFieldsetFactory.php b/database/factories/CustomFieldsetFactory.phpindex e2f17d1564..2087def95f 100644--- a/database/factories/CustomFieldsetFactory.php+++ b/database/factories/CustomFieldsetFactory.php@@ -11,7 +11,7 @@ class CustomFieldsetFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<CustomFieldset>*/protected $model = CustomFieldset::class;diff --git a/database/factories/DepartmentFactory.php b/database/factories/DepartmentFactory.phpindex e42c4cc371..e341bbc2dc 100644--- a/database/factories/DepartmentFactory.php+++ b/database/factories/DepartmentFactory.php@@ -12,7 +12,7 @@ class DepartmentFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Department>*/protected $model = Department::class;diff --git a/database/factories/DepreciationFactory.php b/database/factories/DepreciationFactory.phpindex 4f9ab0b327..d3c1a21071 100644--- a/database/factories/DepreciationFactory.php+++ b/database/factories/DepreciationFactory.php@@ -11,7 +11,7 @@ class DepreciationFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Depreciation>*/protected $model = Depreciation::class;diff --git a/database/factories/GroupFactory.php b/database/factories/GroupFactory.phpindex 4ee65f473e..cc5a093607 100644--- a/database/factories/GroupFactory.php+++ b/database/factories/GroupFactory.php@@ -11,7 +11,7 @@ class GroupFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Group>*/protected $model = Group::class;diff --git a/database/factories/LicenseFactory.php b/database/factories/LicenseFactory.phpindex 10b866aa84..819e30390f 100644--- a/database/factories/LicenseFactory.php+++ b/database/factories/LicenseFactory.php@@ -14,7 +14,7 @@ class LicenseFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<License>*/protected $model = License::class;diff --git a/database/factories/MaintenanceFactory.php b/database/factories/MaintenanceFactory.phpindex bee951c903..34dd5e4e5e 100644--- a/database/factories/MaintenanceFactory.php+++ b/database/factories/MaintenanceFactory.php@@ -14,7 +14,7 @@ class MaintenanceFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Maintenance>*/protected $model = Maintenance::class;diff --git a/database/factories/ManufacturerFactory.php b/database/factories/ManufacturerFactory.phpindex ac1916bae7..a5fd20e51f 100644--- a/database/factories/ManufacturerFactory.php+++ b/database/factories/ManufacturerFactory.php@@ -11,7 +11,7 @@ class ManufacturerFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Manufacturer>*/protected $model = Manufacturer::class;diff --git a/database/factories/SettingFactory.php b/database/factories/SettingFactory.phpindex 4459c35607..65635db638 100644--- a/database/factories/SettingFactory.php+++ b/database/factories/SettingFactory.php@@ -10,7 +10,7 @@ class SettingFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Setting>*/protected $model = Setting::class;diff --git a/database/factories/StatuslabelFactory.php b/database/factories/StatuslabelFactory.phpindex 2a4d0f9c16..ec1e91bd5b 100644--- a/database/factories/StatuslabelFactory.php+++ b/database/factories/StatuslabelFactory.php@@ -11,7 +11,7 @@ class StatuslabelFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Statuslabel>*/protected $model = Statuslabel::class;diff --git a/database/factories/SupplierFactory.php b/database/factories/SupplierFactory.phpindex 61d82b2ca4..415bd191f5 100644--- a/database/factories/SupplierFactory.php+++ b/database/factories/SupplierFactory.php@@ -11,7 +11,7 @@ class SupplierFactory extends Factory/*** The name of the factory's corresponding model.*- * @var string+ * @var class-string<Supplier>*/protected $model = Supplier::class;diff --git a/phpstan-baseline.neon b/phpstan-baseline.neonindex e1a5c70265..d9b89e4f60 100644--- a/phpstan-baseline.neon+++ b/phpstan-baseline.neon@@ -1,35 +1,5 @@parameters:ignoreErrors:- -- message: '#^PHPDoc tag @property for property App\\Models\\IdeHelperAsset\:\:\$asset_eol_date contains unknown class App\\Models\\Carbon\.$#'- identifier: class.notFound- count: 1- path: _ide_helper_models.php-- -- message: '#^PHPDoc tag @property for property App\\Models\\IdeHelperAsset\:\:\$last_audit_date contains unknown class App\\Models\\Carbon\.$#'- identifier: class.notFound- count: 1- path: _ide_helper_models.php-- -- message: '#^PHPDoc tag @property for property App\\Models\\IdeHelperAsset\:\:\$last_checkin contains unknown class App\\Models\\Carbon\.$#'- identifier: class.notFound- count: 1- path: _ide_helper_models.php-- -- message: '#^PHPDoc tag @property for property App\\Models\\IdeHelperAsset\:\:\$next_audit_date contains unknown class App\\Models\\Carbon\.$#'- identifier: class.notFound- count: 1- path: _ide_helper_models.php-- -- message: '#^PHPDoc tag @property for property App\\Models\\IdeHelperCheckoutRequest\:\:\$state contains unknown class App\\Models\\CheckoutRequestState\.$#'- identifier: class.notFound- count: 1- path: _ide_helper_models.php--message: '#^Access to an undefined property App\\Models\\Asset\:\:\$pivot\.$#'identifier: property.notFound@@ -198,12 +168,6 @@ parameters:count: 1path: app/Console/Commands/CleanOldCheckoutRequests.php- -- message: '#^PHPDoc tag @var has invalid value \(\\Illuminate\\Database\\Eloquent\\Model&object\{trashed\(\)\: bool\} \$requestable\)\: Unexpected token "\(", expected ''\:'' at offset 59 on line 1$#'- identifier: phpDoc.parseError- count: 1- path: app/Console/Commands/CleanOldCheckoutRequests.php--message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#'identifier: method.notFound@@ -337,9 +301,9 @@ parameters:path: app/Console/Commands/NormalizeUserNames.php-- message: '#^Call to an undefined static method App\\Models\\CheckoutAcceptance\:\:HasFiles\(\)\.$#'- identifier: staticMethod.notFound- count: 1+ message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\<Illuminate\\Database\\Eloquent\\Model\>\:\:withTrashed\(\)\.$#'+ identifier: method.notFound+ count: 2path: app/Console/Commands/PurgeEulaPDFs.php-@@ -390,12 +354,6 @@ parameters:count: 2path: app/Console/Commands/RestoreDeletedUsers.php- -- message: '#^Instantiated class App\\Console\\Commands\\Exception not found\.$#'- identifier: class.notFound- count: 1- path: app/Console/Commands/RestoreFromBackup.php--message: '#^Result of method Illuminate\\Console\\Command\:\:error\(\) \(void\) is used\.$#'identifier: method.void@@ -408,12 +366,6 @@ parameters:count: 1path: app/Console/Commands/RestoreFromBackup.php- -- message: '#^Throwing object of an unknown class App\\Console\\Commands\\Exception\.$#'- identifier: class.notFound- count: 1- path: app/Console/Commands/RestoreFromBackup.php--message: '#^Variable \$cipher might not be defined\.$#'identifier: variable.undefined@@ -576,18 +528,6 @@ parameters:count: 1path: app/Exceptions/Handler.php- -- message: '#^PHPDoc type array of property App\\Exceptions\\Handler\:\:\$dontFlash is not covariant with PHPDoc type array\<int, string\> of overridden property Illuminate\\Foundation\\Exceptions\\Handler\:\:\$dontFlash\.$#'- identifier: property.phpDocType- count: 1- path: app/Exceptions/Handler.php-- -- message: '#^PHPDoc type array of property App\\Exceptions\\Handler\:\:\$dontReport is not covariant with PHPDoc type array\<int, class\-string\<Throwable\>\> of overridden property Illuminate\\Foundation\\Exceptions\\Handler\:\:\$dontReport\.$#'- identifier: property.phpDocType- count: 1- path: app/Exceptions/Handler.php--message: '#^Result of && is always false\.$#'identifier: booleanAnd.alwaysFalse@@ -696,24 +636,6 @@ parameters:count: 1path: app/Helpers/Helper.php- -- message: '#^Parameter \$file of method App\\Helpers\\Helper\:\:checkUploadIsAudio\(\) has invalid type App\\Helpers\\File\.$#'- identifier: class.notFound- count: 1- path: app/Helpers/Helper.php-- -- message: '#^Parameter \$file of method App\\Helpers\\Helper\:\:checkUploadIsImage\(\) has invalid type App\\Helpers\\File\.$#'- identifier: class.notFound- count: 1- path: app/Helpers/Helper.php-- -- message: '#^Parameter \$file of method App\\Helpers\\Helper\:\:checkUploadIsVideo\(\) has invalid type App\\Helpers\\File\.$#'- identifier: class.notFound- count: 1- path: app/Helpers/Helper.php--message: '#^Strict comparison using \!\=\= between int and false will always evaluate to true\.$#'identifier: notIdentical.alwaysTrue@@ -750,18 +672,6 @@ parameters:count: 1path: app/Http/Controllers/Accessories/AccessoriesController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$accessoryID$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Accessories/AccessoriesController.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$accessoryId$#'- identifier: parameter.notFound- count: 4- path: app/Http/Controllers/Accessories/AccessoriesController.php--message: '#^Property App\\Models\\IdeHelperAccessory\:\:\$deleted_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'identifier: assign.propertyType@@ -786,12 +696,6 @@ parameters:count: 1path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php--message: '#^Property App\\Models\\SnipeModel\:\:\$location_id is not readable\.$#'identifier: property.writeOnly@@ -864,24 +768,6 @@ parameters:count: 1path: app/Http/Controllers/Api/AccessoriesController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$accessoryId$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Api/AccessoriesController.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$backto$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Api/AccessoriesController.php-- -- message: '#^PHPDoc tag @return has invalid value \(\| array\)\: Unexpected token "\|", expected type at offset 192 on line 9$#'- identifier: phpDoc.parseError- count: 1- path: app/Http/Controllers/Api/AccessoriesController.php--message: '#^Property App\\Models\\SnipeModel\:\:\$location_id is not readable\.$#'identifier: property.writeOnly@@ -1020,18 +906,6 @@ parameters:count: 1path: app/Http/Controllers/Api/AssetsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$assetId$#'- identifier: parameter.notFound- count: 5- path: app/Http/Controllers/Api/AssetsController.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Api/AssetsController.php--message: '#^Property App\\Models\\Asset\|App\\Models\\Location\|App\\Models\\User\:\:\$location_id is not readable\.$#'identifier: property.writeOnly@@ -1056,12 +930,6 @@ parameters:count: 1path: app/Http/Controllers/Api/CategoriesController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Api/CategoriesController.php--message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type Illuminate\\Http\\JsonResponse\.$#'identifier: return.phpDocType@@ -1170,12 +1038,6 @@ parameters:count: 1path: app/Http/Controllers/Api/ComponentsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Api/ComponentsController.php--message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$assigned_to\.$#'identifier: property.notFound@@ -1254,24 +1116,12 @@ parameters:count: 1path: app/Http/Controllers/Api/CustomFieldsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Api/CustomFieldsController.php--message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:sync\(\)\.$#'identifier: method.notFoundcount: 1path: app/Http/Controllers/Api/CustomFieldsetsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Api/CustomFieldsetsController.php--message: '#^PHPDoc tag @return with type string is incompatible with native type array\.$#'identifier: return.phpDocType@@ -1314,12 +1164,6 @@ parameters:count: 1path: app/Http/Controllers/Api/DepartmentsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$locationId$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Api/DepartmentsController.php--message: '#^Dead catch \- Illuminate\\Database\\Eloquent\\JsonEncodingException is never thrown in the try block\.$#'identifier: catch.neverThrown@@ -1332,12 +1176,6 @@ parameters:count: 1path: app/Http/Controllers/Api/ImportController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$request$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Api/ImportController.php--message: '#^Variable \$model_perms might not be defined\.$#'identifier: variable.undefined@@ -1464,12 +1302,6 @@ parameters:count: 1path: app/Http/Controllers/Api/ManufacturersController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Api/ManufacturersController.php--message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type array\|Illuminate\\Http\\JsonResponse\.$#'identifier: return.phpDocType@@ -1482,18 +1314,6 @@ parameters:count: 1path: app/Http/Controllers/Api/ManufacturersController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$request$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Api/NotesController.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 4- path: app/Http/Controllers/Api/PredefinedKitsController.php--message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type Illuminate\\Http\\JsonResponse\.$#'identifier: return.phpDocType@@ -1608,12 +1428,6 @@ parameters:count: 1path: app/Http/Controllers/Api/SuppliersController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Api/SuppliersController.php--message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type array\.$#'identifier: return.phpDocType@@ -1626,12 +1440,6 @@ parameters:count: 1path: app/Http/Controllers/Api/UploadedFilesController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$request$#'- identifier: parameter.notFound- count: 2- path: app/Http/Controllers/Api/UploadedFilesController.php--message: '#^Static method App\\Helpers\\Helper\:\:formatStandardApiResponse\(\) invoked with 4 parameters, 1\-3 required\.$#'identifier: arguments.count@@ -1656,12 +1464,6 @@ parameters:count: 2path: app/Http/Controllers/Api/UsersController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Api/UsersController.php--message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$eol\.$#'identifier: property.notFound@@ -1758,12 +1560,6 @@ parameters:count: 1path: app/Http/Controllers/Assets/AssetCheckinController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$assetId$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Assets/AssetCheckinController.php--message: '#^Property App\\Models\\IdeHelperAsset\:\:\$status_id \(int\|null\) does not accept string\.$#'identifier: assign.propertyType@@ -1776,12 +1572,6 @@ parameters:count: 3path: app/Http/Controllers/Assets/AssetCheckoutController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$assetId$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Assets/AssetCheckoutController.php--message: '#^Property App\\Models\\SnipeModel\:\:\$location_id is not readable\.$#'identifier: property.writeOnly@@ -1872,12 +1662,6 @@ parameters:count: 1path: app/Http/Controllers/Assets/AssetsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$assetId$#'- identifier: parameter.notFound- count: 5- path: app/Http/Controllers/Assets/AssetsController.php--message: '#^Property App\\Models\\IdeHelperAsset\:\:\$assigned_to \(int\|null\) does not accept string\.$#'identifier: assign.propertyType@@ -1950,30 +1734,6 @@ parameters:count: 1path: app/Http/Controllers/Auth/LoginController.php- -- message: '#^Call to method getMessage\(\) on an unknown class App\\Http\\Controllers\\Auth\\Exception\.$#'- identifier: class.notFound- count: 1- path: app/Http/Controllers/Auth/LoginController.php-- -- message: '#^Call to method getSLOurl\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Http/Controllers/Auth/LoginController.php-- -- message: '#^Call to method logout\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Http/Controllers/Auth/LoginController.php-- -- message: '#^Caught class App\\Http\\Controllers\\Auth\\Exception not found\.$#'- identifier: class.notFound- count: 1- path: app/Http/Controllers/Auth/LoginController.php--message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:getTwoFactorAuth\(\) should return Illuminate\\Http\\RedirectResponse but returns Illuminate\\View\\View\.$#'identifier: return.type@@ -2004,18 +1764,6 @@ parameters:count: 2path: app/Http/Controllers/Auth/LoginController.php- -- message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:logout\(\) has invalid return type App\\Http\\Controllers\\Auth\\Illuminate\\Http\\RedirectResponse\.$#'- identifier: class.notFound- count: 1- path: app/Http/Controllers/Auth/LoginController.php-- -- message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:logout\(\) should return App\\Http\\Controllers\\Auth\\Illuminate\\Http\\RedirectResponse but returns Illuminate\\Http\\RedirectResponse\.$#'- identifier: return.type- count: 4- path: app/Http/Controllers/Auth/LoginController.php--message: '#^Negated boolean expression is always true\.$#'identifier: booleanNot.alwaysTrue@@ -2023,56 +1771,14 @@ parameters:path: app/Http/Controllers/Auth/LoginController.php-- message: '#^Call to method getErrors\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 2- path: app/Http/Controllers/Auth/SamlController.php-- -- message: '#^Call to method getLastErrorReason\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 2- path: app/Http/Controllers/Auth/SamlController.php-- -- message: '#^Call to method login\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Http/Controllers/Auth/SamlController.php-- -- message: '#^Call to method processResponse\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Http/Controllers/Auth/SamlController.php-- -- message: '#^Call to method processSLO\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Http/Controllers/Auth/SamlController.php-- -- message: '#^Method App\\Http\\Controllers\\Auth\\SamlController\:\:metadata\(\) has invalid return type App\\Http\\Controllers\\Auth\\Response\.$#'- identifier: class.notFound- count: 1- path: app/Http/Controllers/Auth/SamlController.php-- -- message: '#^Method App\\Http\\Controllers\\Auth\\SamlController\:\:metadata\(\) should return App\\Http\\Controllers\\Auth\\Response but returns Illuminate\\Http\\Response\.$#'- identifier: return.type- count: 1- path: app/Http/Controllers/Auth/SamlController.php-- -- message: '#^Method App\\Http\\Controllers\\Auth\\SamlController\:\:metadata\(\) should return App\\Http\\Controllers\\Auth\\Response but returns Symfony\\Component\\HttpFoundation\\StreamedResponse\.$#'+ message: '#^Method App\\Http\\Controllers\\Auth\\SamlController\:\:sls\(\) should return Illuminate\\Http\\RedirectResponse but returns Illuminate\\View\\View\.$#'identifier: return.typecount: 1path: app/Http/Controllers/Auth/SamlController.php-- message: '#^Method App\\Http\\Controllers\\Auth\\SamlController\:\:sls\(\) should return Illuminate\\Http\\RedirectResponse but returns Illuminate\\View\\View\.$#'- identifier: return.type+ message: '#^Unreachable statement \- code above always terminates\.$#'+ identifier: deadCode.unreachablecount: 1path: app/Http/Controllers/Auth/SamlController.php@@ -2088,12 +1794,6 @@ parameters:count: 2path: app/Http/Controllers/CategoriesController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$categoryId$#'- identifier: parameter.notFound- count: 3- path: app/Http/Controllers/CategoriesController.php--message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'identifier: method.notFound@@ -2106,12 +1806,6 @@ parameters:count: 1path: app/Http/Controllers/CompaniesController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$companyId$#'- identifier: parameter.notFound- count: 2- path: app/Http/Controllers/CompaniesController.php--message: '#^Cannot access property \$asset_id on array\<mixed\>\|object\.$#'identifier: property.nonObject@@ -2184,12 +1878,6 @@ parameters:count: 1path: app/Http/Controllers/Components/ComponentsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$componentId$#'- identifier: parameter.notFound- count: 3- path: app/Http/Controllers/Components/ComponentsController.php--message: '#^Property App\\Models\\IdeHelperComponent\:\:\$id \(int\) does not accept null\.$#'identifier: assign.propertyType@@ -2244,12 +1932,6 @@ parameters:count: 2path: app/Http/Controllers/Consumables/ConsumablesController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$consumableId$#'- identifier: parameter.notFound- count: 3- path: app/Http/Controllers/Consumables/ConsumablesController.php--message: '#^Property App\\Models\\IdeHelperConsumable\:\:\$id \(int\) does not accept null\.$#'identifier: assign.propertyType@@ -2292,12 +1974,6 @@ parameters:count: 2path: app/Http/Controllers/CustomFieldsetsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 3- path: app/Http/Controllers/CustomFieldsetsController.php--message: '#^Variable \$field_ids might not be defined\.$#'identifier: variable.undefined@@ -2310,36 +1986,12 @@ parameters:count: 2path: app/Http/Controllers/DepartmentsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$departmentId$#'- identifier: parameter.notFound- count: 2- path: app/Http/Controllers/DepartmentsController.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/DepartmentsController.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$locationId$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/DepartmentsController.php--message: '#^Access to an undefined property App\\Models\\Depreciation\:\:\$depreciation_method\.$#'identifier: property.notFoundcount: 2path: app/Http/Controllers/DepreciationsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$depreciationId$#'- identifier: parameter.notFound- count: 3- path: app/Http/Controllers/DepreciationsController.php--message: '#^Access to an undefined property Laravel\\Socialite\\Contracts\\User\:\:\$avatar\.$#'identifier: property.notFound@@ -2352,12 +2004,6 @@ parameters:count: 2path: app/Http/Controllers/GroupsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 2- path: app/Http/Controllers/GroupsController.php--message: '#^Property App\\Models\\SnipeModel\:\:\$location_id is not readable\.$#'identifier: property.writeOnly@@ -2454,30 +2100,6 @@ parameters:count: 1path: app/Http/Controllers/Kits/PredefinedKitsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$accessoryId$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Kits/PredefinedKitsController.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$consumableId$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Kits/PredefinedKitsController.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$kit_id$#'- identifier: parameter.notFound- count: 2- path: app/Http/Controllers/Kits/PredefinedKitsController.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$modelId$#'- identifier: parameter.notFound- count: 3- path: app/Http/Controllers/Kits/PredefinedKitsController.php--message: '#^Offset 0 on non\-empty\-list\<string\> in isset\(\) always exists and is not nullable\.$#'identifier: isset.offset@@ -2496,12 +2118,6 @@ parameters:count: 1path: app/Http/Controllers/Licenses/LicenseCheckinController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$seatId$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Licenses/LicenseCheckinController.php--message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'identifier: nullsafe.neverNull@@ -2514,12 +2130,6 @@ parameters:count: 1path: app/Http/Controllers/Licenses/LicensesController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$licenseId$#'- identifier: parameter.notFound- count: 4- path: app/Http/Controllers/Licenses/LicensesController.php--message: '#^Property App\\Models\\IdeHelperLicense\:\:\$id \(int\) does not accept null\.$#'identifier: assign.propertyType@@ -2538,18 +2148,6 @@ parameters:count: 2path: app/Http/Controllers/LocationsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 2- path: app/Http/Controllers/LocationsController.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$locationId$#'- identifier: parameter.notFound- count: 2- path: app/Http/Controllers/LocationsController.php--message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'identifier: assign.propertyType@@ -2580,12 +2178,6 @@ parameters:count: 1path: app/Http/Controllers/MaintenancesController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$maintenanceId$#'- identifier: parameter.notFound- count: 3- path: app/Http/Controllers/MaintenancesController.php--message: '#^PHPDoc tag @return with type mixed is not subtype of native type Illuminate\\Contracts\\View\\View\.$#'identifier: return.phpDocType@@ -2616,18 +2208,6 @@ parameters:count: 1path: app/Http/Controllers/ManufacturersController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$manufacturerId$#'- identifier: parameter.notFound- count: 4- path: app/Http/Controllers/ManufacturersController.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$manufacturers_id$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/ManufacturersController.php--message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'identifier: assign.propertyType@@ -2796,12 +2376,6 @@ parameters:count: 1path: app/Http/Controllers/ReportsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$acceptanceId$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/ReportsController.php--message: '#^PHPDoc tag @return with type array is incompatible with native type Illuminate\\Contracts\\View\\View\.$#'identifier: return.phpDocType@@ -2880,12 +2454,6 @@ parameters:count: 2path: app/Http/Controllers/StatuslabelsController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$statuslabelId$#'- identifier: parameter.notFound- count: 2- path: app/Http/Controllers/StatuslabelsController.php--message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$asset_maintenances_count\.$#'identifier: property.notFound@@ -2898,12 +2466,6 @@ parameters:count: 2path: app/Http/Controllers/SuppliersController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$supplierId$#'- identifier: parameter.notFound- count: 4- path: app/Http/Controllers/SuppliersController.php--message: '#^Property App\\Models\\IdeHelperSupplier\:\:\$url \(string\|null\) does not accept Illuminate\\Database\\Eloquent\\Relations\\Relation\.$#'identifier: assign.propertyType@@ -2916,12 +2478,6 @@ parameters:count: 1path: app/Http/Controllers/UploadedFilesController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$request$#'- identifier: parameter.notFound- count: 2- path: app/Http/Controllers/UploadedFilesController.php--message: '#^Variable \$files might not be defined\.$#'identifier: variable.undefined@@ -2964,18 +2520,6 @@ parameters:count: 1path: app/Http/Controllers/Users/UsersController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 3- path: app/Http/Controllers/Users/UsersController.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$userId$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/Users/UsersController.php--message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'identifier: assign.propertyType@@ -2994,30 +2538,12 @@ parameters:count: 1path: app/Http/Controllers/Users/UsersController.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$assetId$#'- identifier: parameter.notFound- count: 1- path: app/Http/Controllers/ViewAssetsController.php--message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'identifier: assign.propertyTypecount: 1path: app/Http/Controllers/ViewAssetsController.php- -- message: '#^PHPDoc type array of property App\\Http\\Kernel\:\:\$middleware is not covariant with PHPDoc type array\<int, string\> of overridden property Illuminate\\Foundation\\Http\\Kernel\:\:\$middleware\.$#'- identifier: property.phpDocType- count: 1- path: app/Http/Kernel.php-- -- message: '#^PHPDoc type array of property App\\Http\\Kernel\:\:\$middlewareGroups is not covariant with PHPDoc type array\<string, array\<int, string\>\> of overridden property Illuminate\\Foundation\\Http\\Kernel\:\:\$middlewareGroups\.$#'- identifier: property.phpDocType- count: 1- path: app/Http/Kernel.php--message: '#^PHPDoc type array of property App\\Http\\Kernel\:\:\$routeMiddleware is not covariant with PHPDoc type array\<string, string\> of overridden property Illuminate\\Foundation\\Http\\Kernel\:\:\$routeMiddleware\.$#'identifier: property.phpDocType@@ -3030,36 +2556,12 @@ parameters:count: 1path: app/Http/Middleware/CheckLocale.php- -- message: '#^PHPDoc type array of property App\\Http\\Middleware\\EncryptCookies\:\:\$except is not covariant with PHPDoc type array\<int, string\> of overridden property Illuminate\\Cookie\\Middleware\\EncryptCookies\:\:\$except\.$#'- identifier: property.phpDocType- count: 1- path: app/Http/Middleware/EncryptCookies.php--message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Auth\\AuthManager\. Use \-\> instead\.$#'identifier: nullsafe.neverNullcount: 1path: app/Http/Middleware/LogAuthedUserHeader.php- -- message: '#^PHPDoc type array of property App\\Http\\Middleware\\PreventRequestsDuringMaintenance\:\:\$except is not covariant with PHPDoc type array\<int, string\> of overridden property Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance\:\:\$except\.$#'- identifier: property.phpDocType- count: 1- path: app/Http/Middleware/PreventRequestsDuringMaintenance.php-- -- message: '#^PHPDoc type array of property App\\Http\\Middleware\\TrimStrings\:\:\$except is not covariant with PHPDoc type array\<int, string\> of overridden property Illuminate\\Foundation\\Http\\Middleware\\TrimStrings\:\:\$except\.$#'- identifier: property.phpDocType- count: 1- path: app/Http/Middleware/TrimStrings.php-- -- message: '#^PHPDoc type array of property App\\Http\\Middleware\\VerifyCsrfToken\:\:\$except is not covariant with PHPDoc type array\<int, string\> of overridden property Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken\:\:\$except\.$#'- identifier: property.phpDocType- count: 1- path: app/Http/Middleware/VerifyCsrfToken.php--message: '#^Using nullsafe property access on non\-nullable type \$this\(App\\Http\\Requests\\CreateMultipleAssetRequest\)\. Use \-\> instead\.$#'identifier: nullsafe.neverNull@@ -3510,12 +3012,6 @@ parameters:count: 1path: app/Importer/Importer.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$updating$#'- identifier: parameter.notFound- count: 1- path: app/Importer/Importer.php--message: '#^Property App\\Importer\\Importer\:\:\$usernameFormat \(null\) does not accept string\.$#'identifier: assign.propertyType@@ -3612,12 +3108,6 @@ parameters:count: 1path: app/Importer/ItemImporter.php- -- message: '#^PHPDoc tag @param has invalid value \(array\)\: Unexpected token "\\n \* ", expected variable at offset 157 on line 8$#'- identifier: phpDoc.parseError- count: 1- path: app/Importer/ItemImporter.php--message: '#^Result of && is always false\.$#'identifier: booleanAnd.alwaysFalse@@ -3672,42 +3162,6 @@ parameters:count: 4path: app/Importer/UserImporter.php- -- message: '#^Access to property \$checkedInBy on an unknown class App\\Listeners\\CheckoutableCheckedIn\.$#'- identifier: class.notFound- count: 1- path: app/Listeners/CheckoutableListener.php-- -- message: '#^Access to property \$checkedOutTo on an unknown class App\\Listeners\\CheckoutableCheckedIn\.$#'- identifier: class.notFound- count: 1- path: app/Listeners/CheckoutableListener.php-- -- message: '#^Access to property \$checkedOutTo on an unknown class App\\Listeners\\Event\.$#'- identifier: class.notFound- count: 1- path: app/Listeners/CheckoutableListener.php-- -- message: '#^Access to property \$checkoutable on an unknown class App\\Listeners\\CheckoutableCheckedIn\.$#'- identifier: class.notFound- count: 1- path: app/Listeners/CheckoutableListener.php-- -- message: '#^Access to property \$checkoutable on an unknown class App\\Listeners\\Event\.$#'- identifier: class.notFound- count: 4- path: app/Listeners/CheckoutableListener.php-- -- message: '#^Access to property \$note on an unknown class App\\Listeners\\CheckoutableCheckedIn\.$#'- identifier: class.notFound- count: 1- path: app/Listeners/CheckoutableListener.php--message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:getEula\(\)\.$#'identifier: method.notFound@@ -3726,36 +3180,12 @@ parameters:count: 2path: app/Listeners/CheckoutableListener.php- -- message: '#^Call to method listen\(\) on an unknown class App\\Listeners\\Illuminate\\Events\\Dispatcher\.$#'- identifier: class.notFound- count: 2- path: app/Listeners/CheckoutableListener.php--message: '#^PHPDoc tag @return with type Illuminate\\Support\\Facades\\Notification is incompatible with native type Illuminate\\Notifications\\Notification\.$#'identifier: return.phpDocTypecount: 2path: app/Listeners/CheckoutableListener.php- -- message: '#^Parameter \$event of method App\\Listeners\\CheckoutableListener\:\:getCheckinNotification\(\) has invalid type App\\Listeners\\CheckoutableCheckedIn\.$#'- identifier: class.notFound- count: 1- path: app/Listeners/CheckoutableListener.php-- -- message: '#^Parameter \$event of method App\\Listeners\\CheckoutableListener\:\:getCheckoutAcceptance\(\) has invalid type App\\Listeners\\Event\.$#'- identifier: class.notFound- count: 1- path: app/Listeners/CheckoutableListener.php-- -- message: '#^Parameter \$events of method App\\Listeners\\CheckoutableListener\:\:subscribe\(\) has invalid type App\\Listeners\\Illuminate\\Events\\Dispatcher\.$#'- identifier: class.notFound- count: 1- path: app/Listeners/CheckoutableListener.php--message: '#^Strict comparison using \=\=\= between int\<min, 499\> and null will always evaluate to false\.$#'identifier: identical.alwaysFalse@@ -3798,18 +3228,6 @@ parameters:count: 6path: app/Listeners/LogListener.php- -- message: '#^Call to method listen\(\) on an unknown class App\\Listeners\\Illuminate\\Events\\Dispatcher\.$#'- identifier: class.notFound- count: 1- path: app/Listeners/LogListener.php-- -- message: '#^Parameter \$events of method App\\Listeners\\LogListener\:\:subscribe\(\) has invalid type App\\Listeners\\Illuminate\\Events\\Dispatcher\.$#'- identifier: class.notFound- count: 1- path: app/Listeners/LogListener.php--message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$username\.$#'identifier: property.notFound@@ -4050,12 +3468,6 @@ parameters:count: 2path: app/Mail/CheckinAssetMail.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'- identifier: parameter.notFound- count: 1- path: app/Mail/CheckinAssetMail.php--message: '#^Access to an undefined property App\\Mail\\CheckinComponentMail\:\:\$admin\.$#'identifier: property.notFound@@ -4134,12 +3546,6 @@ parameters:count: 1path: app/Mail/CheckoutAssetMail.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'- identifier: parameter.notFound- count: 1- path: app/Mail/CheckoutAssetMail.php--message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$acceptance\.$#'identifier: property.notFound@@ -4410,18 +3816,6 @@ parameters:count: 1path: app/Models/Accessory.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/Accessory.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$acceptedBy$#'- identifier: parameter.notFound- count: 1- path: app/Models/Accessory.php--message: '#^PHPDoc type array of property App\\Models\\Accessory\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'identifier: property.phpDocType@@ -4716,30 +4110,12 @@ parameters:count: 1path: app/Models/Asset.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$acceptedBy$#'- identifier: parameter.notFound- count: 1- path: app/Models/Asset.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$user$#'- identifier: parameter.notFound- count: 1- path: app/Models/Asset.php--message: '#^PHPDoc tag @var above a method has no effect\.$#'identifier: varTag.misplacedcount: 1path: app/Models/Asset.php- -- message: '#^PHPDoc type array of property App\\Models\\Asset\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'- identifier: property.phpDocType- count: 1- path: app/Models/Asset.php--message: '#^Property App\\Models\\Asset\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'identifier: nullCoalesce.property@@ -4884,30 +4260,6 @@ parameters:count: 1path: app/Models/AssetModel.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/AssetModel.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$field$#'- identifier: parameter.notFound- count: 1- path: app/Models/AssetModel.php-- -- message: '#^PHPDoc tag @return with type mixed is not subtype of native type App\\Models\\Builders\\AssetModelQueryBuilder\.$#'- identifier: return.phpDocType- count: 1- path: app/Models/AssetModel.php-- -- message: '#^PHPDoc type array of property App\\Models\\AssetModel\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'- identifier: property.phpDocType- count: 1- path: app/Models/AssetModel.php--message: '#^Property \$this\(App\\Models\\AssetModel\)\:\:\$company_id is not readable\.$#'identifier: property.writeOnly@@ -4986,30 +4338,6 @@ parameters:count: 1path: app/Models/Category.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/Category.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$field$#'- identifier: parameter.notFound- count: 1- path: app/Models/Category.php-- -- message: '#^PHPDoc tag @return with type Illuminate\\Database\\Query\\Builder is incompatible with native type App\\Models\\Builders\\CategoryQueryBuilder\.$#'- identifier: return.phpDocType- count: 1- path: app/Models/Category.php-- -- message: '#^PHPDoc type array of property App\\Models\\Category\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'- identifier: property.phpDocType- count: 1- path: app/Models/Category.php--message: '#^Property App\\Models\\Category\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'identifier: nullCoalesce.property@@ -5166,12 +4494,6 @@ parameters:count: 1path: app/Models/Company.php- -- message: '#^Instantiated class App\\Models\\Exception not found\.$#'- identifier: class.notFound- count: 1- path: app/Models/Company.php--message: '#^Loose comparison using \=\= between ''App\\\\Models\\\\Company'' and ''App\\\\Models\\\\Asset'' will always evaluate to false\.$#'identifier: equal.alwaysFalse@@ -5190,18 +4512,6 @@ parameters:count: 1path: app/Models/Company.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/Company.php-- -- message: '#^PHPDoc type array of property App\\Models\\Company\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'- identifier: property.phpDocType- count: 1- path: app/Models/Company.php--message: '#^Property \$this\(App\\Models\\Company\)\:\:\$company_id is not readable\.$#'identifier: property.writeOnly@@ -5244,12 +4554,6 @@ parameters:count: 1path: app/Models/Company.php- -- message: '#^Throwing object of an unknown class App\\Models\\Exception\.$#'- identifier: class.notFound- count: 1- path: app/Models/Company.php--message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#'identifier: nullsafe.neverNull@@ -5370,24 +4674,6 @@ parameters:count: 1path: app/Models/Component.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/Component.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$order$#'- identifier: parameter.notFound- count: 1- path: app/Models/Component.php-- -- message: '#^PHPDoc tag @return with type Illuminate\\Database\\Query\\Builder is incompatible with native type App\\Models\\Builders\\ComponentQueryBuilder\.$#'- identifier: return.phpDocType- count: 1- path: app/Models/Component.php--message: '#^PHPDoc type array of property App\\Models\\Component\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'identifier: property.phpDocType@@ -5472,12 +4758,6 @@ parameters:count: 1path: app/Models/ComponentAssignment.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/ComponentAssignment.php--message: '#^Unsafe access to private property App\\Models\\ComponentAssignment\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -5562,24 +4842,6 @@ parameters:count: 1path: app/Models/Consumable.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/Consumable.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$order$#'- identifier: parameter.notFound- count: 1- path: app/Models/Consumable.php-- -- message: '#^PHPDoc tag @return with type Illuminate\\Database\\Query\\Builder is incompatible with native type App\\Models\\Builders\\ConsumableQueryBuilder\.$#'- identifier: return.phpDocType- count: 1- path: app/Models/Consumable.php--message: '#^PHPDoc type array of property App\\Models\\Consumable\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'identifier: property.phpDocType@@ -5688,18 +4950,6 @@ parameters:count: 2path: app/Models/CustomField.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$id$#'- identifier: parameter.notFound- count: 1- path: app/Models/CustomField.php-- -- message: '#^PHPDoc type array of property App\\Models\\CustomField\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'- identifier: property.phpDocType- count: 1- path: app/Models/CustomField.php--message: '#^Result of static method Illuminate\\Support\\Facades\\Schema\:\:table\(\) \(void\) is used\.$#'identifier: staticMethod.void@@ -5754,18 +5004,6 @@ parameters:count: 1path: app/Models/Department.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/Department.php-- -- message: '#^PHPDoc type array of property App\\Models\\Department\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'- identifier: property.phpDocType- count: 1- path: app/Models/Department.php--message: '#^Property App\\Models\\Department\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'identifier: nullCoalesce.property@@ -5820,12 +5058,6 @@ parameters:count: 1path: app/Models/Depreciable.php- -- message: '#^PHPDoc tag @param has invalid value \(onlyHalfFirstYear Boolean always applied only second half of the first year\)\: Unexpected token "Boolean", expected variable at offset 37 on line 2$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/Depreciable.php--message: '#^Property \$this\(App\\Models\\Depreciable\)\:\:\$purchase_cost is not readable\.$#'identifier: property.writeOnly@@ -5850,18 +5082,6 @@ parameters:count: 1path: app/Models/Depreciation.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/Depreciation.php-- -- message: '#^PHPDoc type array of property App\\Models\\Depreciation\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'- identifier: property.phpDocType- count: 1- path: app/Models/Depreciation.php--message: '#^Property App\\Models\\Depreciation\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'identifier: nullCoalesce.property@@ -5898,12 +5118,6 @@ parameters:count: 1path: app/Models/Group.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/Group.php--message: '#^Property App\\Models\\Group\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'identifier: nullCoalesce.property@@ -6204,12 +5418,6 @@ parameters:count: 1path: app/Models/Labels/Label.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$path$#'- identifier: parameter.notFound- count: 1- path: app/Models/Labels/Label.php--message: '#^Result of \|\| is always false\.$#'identifier: booleanOr.alwaysFalse@@ -6228,72 +5436,6 @@ parameters:count: 1path: app/Models/Labels/LabelPreviewAsset.php- -- message: '#^Call to method AddPage\(\) on an unknown class App\\Models\\Labels\\TCPDF\.$#'- identifier: class.notFound- count: 1- path: app/Models/Labels/Sheet.php-- -- message: '#^Call to method EndTemplate\(\) on an unknown class App\\Models\\Labels\\TCPDF\.$#'- identifier: class.notFound- count: 1- path: app/Models/Labels/Sheet.php-- -- message: '#^Call to method GetLineWidth\(\) on an unknown class App\\Models\\Labels\\TCPDF\.$#'- identifier: class.notFound- count: 1- path: app/Models/Labels/Sheet.php-- -- message: '#^Call to method Rect\(\) on an unknown class App\\Models\\Labels\\TCPDF\.$#'- identifier: class.notFound- count: 1- path: app/Models/Labels/Sheet.php-- -- message: '#^Call to method StartTemplate\(\) on an unknown class App\\Models\\Labels\\TCPDF\.$#'- identifier: class.notFound- count: 1- path: app/Models/Labels/Sheet.php-- -- message: '#^Call to method get\(\) on an unknown class App\\Models\\Labels\\Collection\.$#'- identifier: class.notFound- count: 1- path: app/Models/Labels/Sheet.php-- -- message: '#^Call to method printTemplate\(\) on an unknown class App\\Models\\Labels\\TCPDF\.$#'- identifier: class.notFound- count: 1- path: app/Models/Labels/Sheet.php-- -- message: '#^Call to method setLineWidth\(\) on an unknown class App\\Models\\Labels\\TCPDF\.$#'- identifier: class.notFound- count: 2- path: app/Models/Labels/Sheet.php-- -- message: '#^Call to method toArray\(\) on an unknown class App\\Models\\Labels\\Collection\.$#'- identifier: class.notFound- count: 1- path: app/Models/Labels/Sheet.php-- -- message: '#^Parameter \$data of method App\\Models\\Labels\\Sheet\:\:writeAll\(\) has invalid type App\\Models\\Labels\\Collection\.$#'- identifier: class.notFound- count: 1- path: app/Models/Labels/Sheet.php-- -- message: '#^Parameter \$pdf of method App\\Models\\Labels\\Sheet\:\:writeAll\(\) has invalid type App\\Models\\Labels\\TCPDF\.$#'- identifier: class.notFound- count: 1- path: app/Models/Labels/Sheet.php--message: '#^Constant App\\Models\\Labels\\Sheets\\Avery\\_5267\:\:ROW2_Y is unused\.$#'identifier: classConstant.unused@@ -6426,18 +5568,6 @@ parameters:count: 1path: app/Models/License.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/License.php-- -- message: '#^PHPDoc type array of property App\\Models\\License\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'- identifier: property.phpDocType- count: 1- path: app/Models/License.php--message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'identifier: assign.propertyType@@ -6522,18 +5652,6 @@ parameters:count: 1path: app/Models/LicenseSeat.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/LicenseSeat.php-- -- message: '#^PHPDoc type array of property App\\Models\\LicenseSeat\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'- identifier: property.phpDocType- count: 1- path: app/Models/LicenseSeat.php--message: '#^Property \$this\(App\\Models\\LicenseSeat\)\:\:\$company_id is not readable\.$#'identifier: property.writeOnly@@ -6612,18 +5730,6 @@ parameters:count: 1path: app/Models/Location.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/Location.php-- -- message: '#^PHPDoc type array of property App\\Models\\Location\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'- identifier: property.phpDocType- count: 1- path: app/Models/Location.php--message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'identifier: assign.propertyType@@ -6690,18 +5796,6 @@ parameters:count: 1path: app/Models/Maintenance.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/Maintenance.php-- -- message: '#^PHPDoc type array of property App\\Models\\Maintenance\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'- identifier: property.phpDocType- count: 1- path: app/Models/Maintenance.php--message: '#^Property \$this\(App\\Models\\Maintenance\)\:\:\$company_id is not readable\.$#'identifier: property.writeOnly@@ -6756,18 +5850,6 @@ parameters:count: 1path: app/Models/Manufacturer.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/Manufacturer.php-- -- message: '#^PHPDoc type array of property App\\Models\\Manufacturer\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'- identifier: property.phpDocType- count: 1- path: app/Models/Manufacturer.php--message: '#^Property App\\Models\\Manufacturer\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'identifier: nullCoalesce.property@@ -6792,24 +5874,6 @@ parameters:count: 1path: app/Models/PredefinedKit.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/PredefinedKit.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$accessoriy_id$#'- identifier: parameter.notFound- count: 1- path: app/Models/PredefinedKit.php-- -- message: '#^PHPDoc type array of property App\\Models\\PredefinedKit\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'- identifier: property.phpDocType- count: 1- path: app/Models/PredefinedKit.php--message: '#^Property App\\Models\\PredefinedKit\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'identifier: nullCoalesce.property@@ -6930,12 +5994,6 @@ parameters:count: 1path: app/Models/Statuslabel.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/Statuslabel.php--message: '#^Property App\\Models\\Statuslabel\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'identifier: nullCoalesce.property@@ -6984,18 +6042,6 @@ parameters:count: 1path: app/Models/Supplier.php- -- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#'- identifier: phpDoc.parseError- count: 1- path: app/Models/Supplier.php-- -- message: '#^PHPDoc type array of property App\\Models\\Supplier\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'- identifier: property.phpDocType- count: 1- path: app/Models/Supplier.php--message: '#^Property \$this\(App\\Models\\Supplier\)\:\:\$company_id is not readable\.$#'identifier: property.writeOnly@@ -7158,12 +6204,6 @@ parameters:count: 1path: app/Models/User.php- -- message: '#^PHPDoc tag @param for parameter \$query with type Illuminate\\Database\\Query\\Builder is incompatible with native type Illuminate\\Database\\Eloquent\\Builder\.$#'- identifier: parameter.phpDocType- count: 1- path: app/Models/User.php--message: '#^Property \$this\(App\\Models\\User\)\:\:\$company_id is not readable\.$#'identifier: property.writeOnly@@ -7236,18 +6276,6 @@ parameters:count: 1path: app/Models/User.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'- identifier: parameter.notFound- count: 2- path: app/Notifications/AcceptanceItemAcceptedNotification.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'- identifier: parameter.notFound- count: 2- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php--message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'identifier: nullsafe.neverNull@@ -7440,54 +6468,18 @@ parameters:count: 2path: app/Notifications/CheckoutLicenseSeatNotification.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'- identifier: parameter.notFound- count: 1- path: app/Notifications/CurrentInventory.php--message: '#^Access to an undefined property App\\Notifications\\ExpiringAssetsNotification\:\:\$assets\.$#'identifier: property.notFoundcount: 1path: app/Notifications/ExpiringAssetsNotification.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$asset$#'- identifier: parameter.notFound- count: 1- path: app/Notifications/ExpiringAssetsNotification.php--message: '#^Access to an undefined property App\\Notifications\\ExpiringLicenseNotification\:\:\$licenses\.$#'identifier: property.notFoundcount: 1path: app/Notifications/ExpiringLicenseNotification.php- -- message: '#^PHPDoc tag @param references unknown parameter\: \$asset$#'- identifier: parameter.notFound- count: 1- path: app/Notifications/ExpiringLicenseNotification.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'- identifier: parameter.notFound- count: 1- path: app/Notifications/ExpiringLicenseNotification.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'- identifier: parameter.notFound- count: 2- path: app/Notifications/RequestAssetCancelation.php-- -- message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'- identifier: parameter.notFound- count: 1- path: app/Notifications/RequestAssetNotification.php--message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'identifier: assign.propertyType@@ -7578,30 +6570,6 @@ parameters:count: 1path: app/Policies/CheckoutRequestPolicy.php- -- message: '#^PHPDoc tag @param for parameter \$user with type App\\User is not subtype of native type App\\Models\\User\.$#'- identifier: parameter.phpDocType- count: 3- path: app/Policies/CheckoutablePermissionsPolicy.php-- -- message: '#^Parameter \$user of method App\\Policies\\CheckoutablePermissionsPolicy\:\:checkin\(\) has invalid type App\\User\.$#'- identifier: class.notFound- count: 1- path: app/Policies/CheckoutablePermissionsPolicy.php-- -- message: '#^Parameter \$user of method App\\Policies\\CheckoutablePermissionsPolicy\:\:checkout\(\) has invalid type App\\User\.$#'- identifier: class.notFound- count: 1- path: app/Policies/CheckoutablePermissionsPolicy.php-- -- message: '#^Parameter \$user of method App\\Policies\\CheckoutablePermissionsPolicy\:\:manage\(\) has invalid type App\\User\.$#'- identifier: class.notFound- count: 1- path: app/Policies/CheckoutablePermissionsPolicy.php--message: '#^Method App\\Policies\\CompanyPolicy\:\:columnName\(\) should return bool but returns string\.$#'identifier: return.type@@ -8370,12 +7338,6 @@ parameters:count: 1path: app/Presenters/UserPresenter.php- -- message: '#^PHPDoc type array of property App\\Providers\\AuthServiceProvider\:\:\$policies is not covariant with PHPDoc type array\<class\-string, class\-string\> of overridden property Illuminate\\Foundation\\Support\\Providers\\AuthServiceProvider\:\:\$policies\.$#'- identifier: property.phpDocType- count: 1- path: app/Providers/AuthServiceProvider.php--message: '#^Right side of \|\| is always false\.$#'identifier: booleanOr.rightAlwaysFalse@@ -8388,12 +7350,6 @@ parameters:count: 1path: app/Providers/BreadcrumbsServiceProvider.php- -- message: '#^PHPDoc type array of property App\\Providers\\EventServiceProvider\:\:\$listen is not covariant with PHPDoc type array\<string, array\<int, string\>\> of overridden property Illuminate\\Foundation\\Support\\Providers\\EventServiceProvider\:\:\$listen\.$#'- identifier: property.phpDocType- count: 1- path: app/Providers/EventServiceProvider.php--message: '#^Call to function is_array\(\) with mixed will always evaluate to false\.$#'identifier: function.impossibleType@@ -8412,102 +7368,12 @@ parameters:count: 1path: app/Services/PredefinedKitCheckoutService.php- -- message: '#^Call to method getMessage\(\) on an unknown class App\\Services\\CheckoutNotAllowed\.$#'- identifier: class.notFound- count: 1- path: app/Services/PredefinedKitCheckoutService.php-- -- message: '#^Call to method getMessage\(\) on an unknown class App\\Services\\ModelNotFoundException\.$#'- identifier: class.notFound- count: 1- path: app/Services/PredefinedKitCheckoutService.php-- -- message: '#^Caught class App\\Services\\CheckoutNotAllowed not found\.$#'- identifier: class.notFound- count: 1- path: app/Services/PredefinedKitCheckoutService.php-- -- message: '#^Caught class App\\Services\\ModelNotFoundException not found\.$#'- identifier: class.notFound- count: 1- path: app/Services/PredefinedKitCheckoutService.php--message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'identifier: nullsafe.neverNullcount: 4path: app/Services/PredefinedKitCheckoutService.php- -- message: '#^Call to method getAttributes\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Services/Saml.php-- -- message: '#^Call to method getAttributesWithFriendlyName\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Services/Saml.php-- -- message: '#^Call to method getLastAssertionId\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Services/Saml.php-- -- message: '#^Call to method getLastAssertionNotOnOrAfter\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Services/Saml.php-- -- message: '#^Call to method getNameId\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Services/Saml.php-- -- message: '#^Call to method getNameIdFormat\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Services/Saml.php-- -- message: '#^Call to method getNameIdNameQualifier\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Services/Saml.php-- -- message: '#^Call to method getNameIdSPNameQualifier\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Services/Saml.php-- -- message: '#^Call to method getSessionExpiration\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Services/Saml.php-- -- message: '#^Call to method getSessionIndex\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Services/Saml.php-- -- message: '#^Method App\\Services\\Saml\:\:getAuth\(\) has invalid return type App\\Services\\OneLogin\\Saml2\\Auth\.$#'- identifier: class.notFound- count: 1- path: app/Services/Saml.php--message: '#^Method App\\Services\\Saml\:\:saveDataToSession\(\) with return type void returns null but should not return anything\.$#'identifier: return.void@@ -8520,18 +7386,6 @@ parameters:count: 1path: app/Services/Saml.php- -- message: '#^Property App\\Services\\Saml\:\:\$_auth \(App\\Services\\OneLogin\\Saml2\\Auth\) does not accept OneLogin\\Saml2\\Auth\.$#'- identifier: assign.propertyType- count: 1- path: app/Services/Saml.php-- -- message: '#^Property App\\Services\\Saml\:\:\$_auth has unknown class App\\Services\\OneLogin\\Saml2\\Auth as its type\.$#'- identifier: class.notFound- count: 1- path: app/Services/Saml.php--message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'identifier: nullsafe.neverNull@@ -8652,24 +7506,12 @@ parameters:count: 1path: database/factories/AccessoryFactory.php- -- message: '#^PHPDoc type string of property Database\\Factories\\AccessoryFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/AccessoryFactory.php--message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'identifier: property.notFoundcount: 2path: database/factories/ActionlogFactory.php- -- message: '#^PHPDoc type string of property Database\\Factories\\ActionlogFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/ActionlogFactory.php--message: '#^Using nullsafe property access "\?\-\>id" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'identifier: nullsafe.neverNull@@ -8682,12 +7524,6 @@ parameters:count: 2path: database/factories/AssetFactory.php- -- message: '#^PHPDoc type string of property Database\\Factories\\AssetFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/AssetFactory.php--message: '#^Using nullsafe property access "\?\-\>eol" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'identifier: nullsafe.neverNull@@ -8700,36 +7536,18 @@ parameters:count: 1path: database/factories/AssetModelFactory.php- -- message: '#^PHPDoc type string of property Database\\Factories\\AssetModelFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/AssetModelFactory.php--message: '#^Call to an undefined method Faker\\Generator\:\:catchPhrase\(\)\.$#'identifier: method.notFoundcount: 1path: database/factories/CategoryFactory.php- -- message: '#^PHPDoc type string of property Database\\Factories\\CategoryFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/CategoryFactory.php--message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:assetlog\(\)\.$#'identifier: method.notFoundcount: 1path: database/factories/CheckoutAcceptanceFactory.php- -- message: '#^PHPDoc type string of property Database\\Factories\\CompanyFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/CompanyFactory.php--message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'identifier: property.notFound@@ -8748,12 +7566,6 @@ parameters:count: 1path: database/factories/ComponentFactory.php- -- message: '#^PHPDoc type string of property Database\\Factories\\ComponentFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/ComponentFactory.php--message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$order\.$#'identifier: property.notFound@@ -8766,24 +7578,12 @@ parameters:count: 1path: database/factories/ConsumableFactory.php- -- message: '#^PHPDoc type string of property Database\\Factories\\ConsumableFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/ConsumableFactory.php--message: '#^Call to an undefined method Faker\\Generator\:\:catchPhrase\(\)\.$#'identifier: method.notFoundcount: 1path: database/factories/CustomFieldFactory.php- -- message: '#^PHPDoc type string of property Database\\Factories\\CustomFieldFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/CustomFieldFactory.php--message: '#^Call to an undefined method Faker\\Generator\:\:catchPhrase\(\)\.$#'identifier: method.notFound@@ -8796,42 +7596,12 @@ parameters:count: 5path: database/factories/CustomFieldsetFactory.php- -- message: '#^PHPDoc type string of property Database\\Factories\\CustomFieldsetFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/CustomFieldsetFactory.php-- -- message: '#^PHPDoc type string of property Database\\Factories\\DepartmentFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/DepartmentFactory.php--message: '#^Call to an undefined method Faker\\Generator\:\:catchPhrase\(\)\.$#'identifier: method.notFoundcount: 1path: database/factories/DepreciationFactory.php- -- message: '#^PHPDoc type string of property Database\\Factories\\DepreciationFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/DepreciationFactory.php-- -- message: '#^PHPDoc type string of property Database\\Factories\\GroupFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/GroupFactory.php-- -- message: '#^PHPDoc type string of property Database\\Factories\\LicenseFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/LicenseFactory.php--message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$license\.$#'identifier: property.notFound@@ -8862,30 +7632,6 @@ parameters:count: 1path: database/factories/MaintenanceFactory.php- -- message: '#^PHPDoc type string of property Database\\Factories\\MaintenanceFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/MaintenanceFactory.php-- -- message: '#^PHPDoc type string of property Database\\Factories\\ManufacturerFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/ManufacturerFactory.php-- -- message: '#^PHPDoc type string of property Database\\Factories\\SettingFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/SettingFactory.php-- -- message: '#^PHPDoc type string of property Database\\Factories\\StatuslabelFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/StatuslabelFactory.php--message: '#^Call to an undefined method Faker\\Generator\:\:postCode\(\)\.$#'identifier: method.notFound@@ -8904,12 +7650,6 @@ parameters:count: 1path: database/factories/SupplierFactory.php- -- message: '#^PHPDoc type string of property Database\\Factories\\SupplierFactory\:\:\$model is not covariant with PHPDoc type class\-string\<Illuminate\\Database\\Eloquent\\Model\> of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\<Illuminate\\Database\\Eloquent\\Model\>\:\:\$model\.$#'- identifier: property.phpDocType- count: 1- path: database/factories/SupplierFactory.php--message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'identifier: property.notFound