Update API and APIv2 handling

This commit is contained in:
DariusIII
2026-07-14 12:32:04 +02:00
parent 7a70462ba4
commit 92b1c39613
12 changed files with 590 additions and 375 deletions
-36
View File
@@ -276,42 +276,6 @@ parameters:
count: 1
path: app/Http/Controllers/Admin/DeletedUsersController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ApiController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$is_disabled\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ApiController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$role\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Api/ApiController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:hasRole\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/ApiController.php
-
message: '#^Method App\\Http\\Controllers\\Api\\ApiController\:\:categoryID\(\) should return array\<string, mixed\> but returns array\<int, int\>\.$#'
identifier: return.type
count: 3
path: app/Http/Controllers/Api/ApiController.php
-
message: '#^Method App\\Http\\Controllers\\Api\\ApiController\:\:categoryID\(\) should return array\<string, mixed\> but returns list\<string\>\.$#'
identifier: return.type
count: 1
path: app/Http/Controllers/Api/ApiController.php
-
message: '#^Call to function is_array\(\) with bool\|int\|string will always evaluate to false\.$#'
identifier: function.impossibleType